From 9a61810fcf4d7439f924a7dcfc3f80c2f8e438ea Mon Sep 17 00:00:00 2001 From: Mayo Jordanov Date: Sun, 22 Sep 2024 18:30:30 -0700 Subject: [PATCH] Download tools --- .github/workflows/deploy.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 355f01e..a10d78e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -31,14 +31,11 @@ jobs: name: ${{ inputs.artifact-name }} path: public - - name: Download tools artifact - uses: actions/download-artifact@v4 - with: - name: deploy_aws_s3 - path: tools/ + - 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 - - name: Extract tools artifact - run: tar -C tools -xvf tools/deploy_aws_s3.tar + - name: Extract tools + run: unzip deploy_aws_s3-x86_64-linux.zip - name: Setup Credentials uses: aws-actions/configure-aws-credentials@v4 @@ -49,7 +46,7 @@ jobs: - name: Upload website to S3 #run: aws s3 sync --acl public-read --delete public/ s3://${{ env.S3_BUCKET }}/ - run: tools/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