Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
name: Deploy to Production EC2
runs-on: ubuntu-latest
env:
AWS_REGION: ${{ secrets.AWS_REGION }}
EC2_SECURITY_GROUP_ID: ${{ secrets.EC2_SECURITY_GROUP_ID }}
AWS_REGION: ${{ vars.AWS_REGION || secrets.AWS_REGION }}
EC2_SECURITY_GROUP_ID: ${{ vars.EC2_SECURITY_GROUP_ID || secrets.EC2_SECURITY_GROUP_ID }}

steps:
- name: Configure AWS credentials
Expand Down
2 changes: 2 additions & 0 deletions deploy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ The deployment workflow (`.github/workflows/deploy.yml`) temporarily whitelists
Required repository secrets for this automation:
- `AWS_ACCESS_KEY_ID`
- `AWS_SECRET_ACCESS_KEY`

Required repository variables (or secrets) for this automation:
- `AWS_REGION`
- `EC2_SECURITY_GROUP_ID`

Expand Down
Loading