Skip to content

Commit

Permalink
fixup! Add workflow deploying to s3
Browse files Browse the repository at this point in the history
  • Loading branch information
bbannier committed Jan 8, 2024
1 parent 16379cd commit 63a0281
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/deploy-s3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,12 @@ jobs:
needs:
- check
- build
env:
AWS_ACCESS_KEY_ID: ${{ secrets.STATIC_ZEEK_ORG_AWS_ACCESS_KEY }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.STATIC_ZEEK_ORG_AWS_SECRET_ACCESS_KEY }}
steps:
- uses: actions/download-artifact@v4
- uses: reggionick/s3-deploy@v4
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
folder: spicy-course
bucket: static.zeek.org
bucket-region: us-east-1
delete-removed: true
aws-access-key-id: ${{ secrets.STATIC_ZEEK_ORG_AWS_ACCESS_KEY }}
aws-secret-access-key: ${{ secrets.STATIC_ZEEK_ORG_AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1
- run: aws s3 sync spicy-course s3://static.zeek.org/spicy-course

0 comments on commit 63a0281

Please sign in to comment.