Skip to content

Attempt 2 (#526)

Attempt 2 (#526) #450

name: "Doxygen Deployment"
on:
workflow_dispatch:
push:
branches: [humble]
jobs:
deploy-doc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set output
id: vars
run: echo ::set-output name=short_ref::${GITHUB_REF#refs/*/}
- uses: mattnotmitt/doxygen-action@v1
with:
doxyfile-path: '.github/Doxyfile'
- uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
external_repository: robosoft-ai/smacc2_doxygen
# publish_branch: gh-pages
publish_dir: docs/
destination_dir: ${{ steps.vars.outputs.short_ref }} # Branch name
commit_message: ${{ github.event.head_commit.message }}