Skip to content

Commit

Permalink
fix: remove redundant /token from deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
schmanu committed Mar 20, 2023
1 parent 9f2bf9c commit de65eb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy_tokenlist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ jobs:
- name: "Deploy to S3: Staging"
if: github.ref == 'refs/heads/main'
run: |
aws s3 sync src/tokens/ s3://${{ secrets.STAGING_BUCKET_NAME }}/current/tokens --delete --cache-control max-age=0,no-cache,no-store,must-revalidate
aws s3 sync src/tokens/ s3://${{ secrets.STAGING_BUCKET_NAME }}/current --delete --cache-control max-age=0,no-cache,no-store,must-revalidate
- name: "Package release version"
if: success() && startsWith(github.ref, 'refs/tags/v')
run: |
aws s3 sync src/tokens/ s3://${{ secrets.STAGING_BUCKET_NAME }}/releases/${{ github.event.release.tag_name }}/tokens --delete --cache-control max-age=0,no-cache,no-store,must-revalidate
aws s3 sync src/tokens/ s3://${{ secrets.STAGING_BUCKET_NAME }}/releases/${{ github.event.release.tag_name }} --delete --cache-control max-age=0,no-cache,no-store,must-revalidate
- name: "Prepare production deployment flow"
if: success() && startsWith(github.ref, 'refs/tags/v')
Expand Down

0 comments on commit de65eb5

Please sign in to comment.