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 9fe0449 commit 326e1b1
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ jobs:
path: public

- name: Download tools
run: curl -LO 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/sync_s3-x86_64-linux.zip

- name: Extract tools
run: unzip deploy_aws_s3-x86_64-linux.zip
run: unzip sync_s3-x86_64-linux.zip

- name: Setup Credentials
uses: aws-actions/configure-aws-credentials@v4
Expand Down Expand Up @@ -81,10 +81,17 @@ jobs:
with:
name: sync-${{ github.ref_name }}

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

- name: Extract tools
run: unzip cf_cache-x86_64-linux.zip

- name: Do stuff
env:
CF_AUTH_TOKEN: ${{ vars.CF_AUTH_TOKEN }}
run: cat upload.log
CF_AUTH_TOKEN: ${{ secrets.CF_AUTH_TOKEN }}
CF_ZONE_ID: ${{ secrets.CF_ZONE_ID }}
run: cut -d ' ' -f 2 upload.log | cf_purge

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

0 comments on commit 326e1b1

Please sign in to comment.