From 3901880f33878cddd5596f33bcd822bcaafd41ea Mon Sep 17 00:00:00 2001 From: Mayo Jordanov Date: Sun, 22 Sep 2024 23:34:53 -0700 Subject: [PATCH] Workflow update - download tools --- .github/workflows/deploy.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a10d78e..39644d8 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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 @@ -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: ./sync_s3 --bucket ${{ env.S3_BUCKET }} public/ -v -a public-read -d # invalidate-cache: # runs-on: ubuntu-latest