Skip to content

Commit

Permalink
env: release generation workflow test
Browse files Browse the repository at this point in the history
Signed-off-by: lucas.dittrich <[email protected]>
  • Loading branch information
lucasdittrichzup committed Aug 21, 2021
1 parent df0e813 commit c60d4d9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -386,8 +386,10 @@ jobs:

- name: Upload files
run: |
aws s3 sync --follow-symlinks $GITHUB_WORKSPACE/$RELEASE_VERSION s3://$AWS_S3_BUCKET/$RELEASE_VERSION --delete
aws s3 sync --follow-symlinks $GITHUB_WORKSPACE/stable.txt s3://$AWS_S3_BUCKET --delete
aws s3 sync $GITHUB_WORKSPACE s3://$AWS_S3_BUCKET/ --exclude "*" --include "stable.txt"
aws s3 sync $GITHUB_WORKSPACE s3://$AWS_S3_BUCKET/$RELEASE_VERSION --exclude "stable.txt" --include "*"
# aws s3 sync --follow-symlinks $GITHUB_WORKSPACE/$RELEASE_VERSION s3://$AWS_S3_BUCKET/$RELEASE_VERSION --delete
# aws s3 sync --follow-symlinks $GITHUB_WORKSPACE/stable.txt s3://$AWS_S3_BUCKET/ --delete
env:
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}

Expand Down

0 comments on commit c60d4d9

Please sign in to comment.