Skip to content

Commit

Permalink
test new workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mayo committed Oct 1, 2024
1 parent 5e819c2 commit 09194f7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:

- name: Upload website to S3
#run: aws s3 sync --acl public-read --delete public/ s3://${{ env.S3_BUCKET }}/
run: ./sync_s3 --bucket ${{ vars.S3_BUCKET }} public/ -v -a public-read -d | tee upload.log
run: ./sync_s3 --bucket ${{ vars.S3_BUCKET }} -v -a public-read -d public/ | tee upload.log

- name: Save sync artifact
uses: actions/upload-artifact@v4
Expand All @@ -87,11 +87,11 @@ jobs:
- name: Extract tools
run: unzip cf_cache-x86_64-linux.zip

- name: Do stuff
- name: Purge cache
env:
CF_AUTH_TOKEN: ${{ secrets.CF_AUTH_TOKEN }}
CF_ZONE_ID: ${{ secrets.CF_ZONE_ID }}
run: cut -d ' ' -f 2 upload.log | ./cf_cache purge
run: cut -d ' ' -f 2 upload.log | sed -E "s%^%https://${{ vars.DOMAIN }}/%g" | ./cf_cache purge

# call-deploy-workflow:
# uses: ./.github/workflows/deploy.yml
Expand Down

0 comments on commit 09194f7

Please sign in to comment.