Skip to content

Commit

Permalink
Move AWS region envs to step aws/aws-cli#5262
Browse files Browse the repository at this point in the history
  • Loading branch information
miensol committed May 17, 2021
1 parent 517c7ac commit 004b56e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@ jobs:
deploy-branch: gh-pages
deploy-s3:
runs-on: ubuntu-18.04
env:
AWS_REGION: 'eu-central-1'
AWS_DEFAULT_REGION: 'eu-central-1'
needs:
- build
steps:
Expand Down Expand Up @@ -100,6 +97,8 @@ jobs:
AWS_CLOUDFRONT_DISTRIBUTION_ID: ${{ secrets.AWS_CLOUDFRONT_DISTRIBUTION_ID }}
- run: yarn run invalidate-cf-cache
env:
AWS_REGION: 'eu-central-1'
AWS_DEFAULT_REGION: 'eu-central-1'
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_CLOUDFRONT_DISTRIBUTION_ID: ${{ secrets.AWS_CLOUDFRONT_DISTRIBUTION_ID }}
Expand Down

0 comments on commit 004b56e

Please sign in to comment.