Skip to content

Commit

Permalink
Workflow update - download tools
Browse files Browse the repository at this point in the history
  • Loading branch information
mayo committed Sep 23, 2024
1 parent 9a61810 commit 760fb2d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
path: public

- name: Download tools
run: curl -O https://github.com/mayo/oyam.ca-tools/releases/download/v0.0.1/deploy_aws_s3-x86_64-linux.zip
run: curl -LO https://github.com/mayo/oyam.ca-tools/releases/download/v0.0.1/deploy_aws_s3-x86_64-linux.zip

- name: Extract tools
run: unzip deploy_aws_s3-x86_64-linux.zip
Expand All @@ -44,9 +44,11 @@ jobs:
role-session-name: GitHub-Action-Role
aws-region: ${{ env.AWS_REGION }}

- name: debug
run: ls -la
- name: Upload website to S3
#run: aws s3 sync --acl public-read --delete public/ s3://${{ env.S3_BUCKET }}/
run: deploy_aws_s3 --bucket ${{ env.S3_BUCKET }} public/ -v -a public-read -d
run: ./deploy_aws_s3 --bucket ${{ env.S3_BUCKET }} public/ -v -a public-read -d

# invalidate-cache:
# runs-on: ubuntu-latest
Expand Down

0 comments on commit 760fb2d

Please sign in to comment.