Skip to content

fixup! Add workflow deploying to s3 #5

fixup! Add workflow deploying to s3

fixup! Add workflow deploying to s3 #5

Workflow file for this run

name: Deploy docs to S3
on:
push:
branches:
- main
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: s3
cancel-in-progress: false
jobs:
build:
uses: ./.github/workflows/build.yml
check:
uses: ./.github/workflows/pre-commit.yml
deploy:
environment:
name: s3
url: https://static.zeek.org/spicy-course
runs-on: ubuntu-latest
needs:
- check
- build
steps:
- uses: actions/download-artifact@v4
- uses: shallwefootball/s3-upload-action@master
with:
source_dir: spicy-course
aws_key_id: ${{ secrets.STATIC_ZEEK_ORG_AWS_ACCESS_KEY }}
aws_secret_access_key: ${{ secrets.STATIC_ZEEK_ORG_AWS_SECRET_ACCESS_KEY }}
aws_bucket: static.zeek.org