WhisperCom/.github/workflows/publish.yaml
Dominik Meyer 9537c93212 Squashed 'docs/doxygen-awesome-css/' content from commit a8bc4f25
git-subtree-dir: docs/doxygen-awesome-css
git-subtree-split: a8bc4f25800f1a03be296f56bb6a4e61cbeb91a9
2021-08-19 22:02:24 +02:00

22 lines
616 B
YAML

name: publish
on:
release:
types: [published]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: set version
run: echo "PROJECT_NUMBER = `git describe --tags`" >> Doxyfile
- name: Generate Documentation
uses: mattnotmitt/doxygen-action@v1
- name: Publish generated content to GitHub Pages
uses: tsunematsu21/actions-publish-gh-pages@v1.0.1
with:
dir: docs/html
branch: gh-pages
token: ${{ secrets.ACCESS_TOKEN }}