Skip to content

publish documentation online #1

publish documentation online

publish documentation online #1

name: Testing
on:
pull_request:
types:
- closed
jobs:
publish-documentation-on-PR-merged:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt install --yes doxygen
- name: Generate doxygen documentation
run: |
doxygen .\Doxyfile -w html
- uses: DenverCoder1/doxygen-github-pages-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
folder: html
on:

Check failure on line 31 in .github/workflows/publishing-doxygen-documentation.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publishing-doxygen-documentation.yml

Invalid workflow file

You have an error in your yaml syntax on line 31
push:
branches:
- master
jobs:
publish-documentation-on-master-push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt install --yes doxygen
- name: Generate doxygen documentation
run: |
doxygen .\Doxyfile -w html
- uses: DenverCoder1/doxygen-github-pages-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
folder: html