Skip to content

Commit

Permalink
ci: use repository var
Browse files Browse the repository at this point in the history
  • Loading branch information
Mi3-14159 committed Apr 14, 2024
1 parent 1ed367d commit d1a1cc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd_frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ jobs:

- name: Deploy
run: |
aws s3 sync dist/. s3://${{ env.FRONTEND_S3_BUCKET_NAME }}/ --cache-control max-age=604800 --exclude "*.html"
aws s3 sync dist/. s3://${{ env.FRONTEND_S3_BUCKET_NAME }}/ --cache-control max-age=60 --include "*.html"
aws s3 sync dist/. s3://${{ vars.FRONTEND_S3_BUCKET_NAME }}/ --cache-control max-age=604800 --exclude "*.html"
aws s3 sync dist/. s3://${{ vars.FRONTEND_S3_BUCKET_NAME }}/ --cache-control max-age=60 --include "*.html"
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
Expand Down

0 comments on commit d1a1cc5

Please sign in to comment.