Skip to content

Commit

Permalink
Fix CD cache invalidation
Browse files Browse the repository at this point in the history
  • Loading branch information
peterpolman committed Sep 19, 2024
1 parent a764869 commit a0f5f66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/wallet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@ jobs:
run: |
if [[ $GITHUB_REF == 'refs/heads/studio' ]]; then
echo "S3_URL=s3://dev-wallet.thx.network" >> $GITHUB_ENV
echo "DISTRIBUTION=${{ secrets.CLOUDFRONT_DISTRIBUTION_STUDIO_DEV }}" >> $GITHUB_ENV
echo "DISTRIBUTION=${{ secrets.CLOUDFRONT_DISTRIBUTION_WALLET_DEV }}" >> $GITHUB_ENV
echo "BUILD_MODE=dev" >> $GITHUB_ENV
elif [[ $GITHUB_REF == 'refs/heads/main' ]]; then
echo "S3_URL=s3://wallet.thx.network" >> $GITHUB_ENV
echo "DISTRIBUTION=${{ secrets.CLOUDFRONT_DISTRIBUTION_STUDIO_PROD }}" >> $GITHUB_ENV
echo "DISTRIBUTION=${{ secrets.CLOUDFRONT_DISTRIBUTION_WALLET_PROD }}" >> $GITHUB_ENV
echo "BUILD_MODE=prod" >> $GITHUB_ENV
fi
Expand Down

0 comments on commit a0f5f66

Please sign in to comment.