Skip to content

Commit

Permalink
update AWS condition in example action
Browse files Browse the repository at this point in the history
  • Loading branch information
joemaller authored Sep 12, 2024
1 parent bb9baa1 commit ad9d71d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/.github/workflows/publish-to-aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
gh release create v${TAG} ../${REPO}.zip
- name: Send artifacts to S3
if: github.ref == 'refs/heads/main' && contains(github.ref, 'refs/tags/') && env.AWS_ACCESS_KEY_ID
if: ${{ contains(github.ref, 'refs/tags/') && env.AWS_ACCESS_KEY_ID }}
run: |
aws s3 sync assets $S3_URI/${REPO}
aws s3 cp ../${REPO}.zip ${S3_URI}/${REPO}/${REPO}_${TAG}.zip

0 comments on commit ad9d71d

Please sign in to comment.