Skip to content

Commit

Permalink
ci(fix): Read env secret in workflow step
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-xero committed Oct 14, 2024
1 parent c3fde85 commit d4204bf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/aws.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ jobs:
id: login-ecr
uses: aws-actions/amazon-ecr-login@62f4f872db3836360b72999f4b87f1ff13310f3a

- name: 'Create env file'
run: |
echo "${{ secrets.ENV_VARS }}" > .env.production
- name: Build Docker image
run: |
docker build -t chessio-backend .
Expand Down

0 comments on commit d4204bf

Please sign in to comment.