Bump docker/build-push-action from 5 to 6 (#1257) #56
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Doxygen | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
upload-doc: | |
if: ${{ github.repository == 'p4lang/behavioral-model' && github.ref == 'refs/heads/main' }} | |
name: Upload bmv2.org Doxygen documentation to S3 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run Doxygen | |
run: | | |
docker run --rm -v $(pwd):/data hrektts/doxygen doxygen | |
- name: Upload to S3 | |
uses: jakejarvis/[email protected] | |
with: | |
args: --acl public-read --follow-symlinks --delete | |
env: | |
AWS_S3_BUCKET: 'bmv2.org' | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
AWS_REGION: 'us-west-2' | |
SOURCE_DIR: 'doxygen-out/html' |