Skip to content

Commit

Permalink
fix: secrets not substituted correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
glamperd committed Jun 10, 2024
1 parent 854ef4f commit eaa6624
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/setup-ceremony.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
push:
branches: [ main, staging, dev ]

env:
AWS_REGION: eu-central-1

jobs:
# first we start a custom runner
start-runner:
Expand All @@ -23,7 +26,7 @@ jobs:
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.AWS_REGION }}
aws-region: ${{ env.AWS_REGION }}

- name: Start EC2 runner
id: start-ec2-runner
Expand Down Expand Up @@ -166,7 +169,7 @@ jobs:
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.AWS_REGION }}
aws-region: ${{ env.AWS_REGION }}

- name: Stop EC2 runner
uses: machulav/ec2-github-runner@v2
Expand Down

0 comments on commit eaa6624

Please sign in to comment.