Merge pull request #4 from scipopt/prep-v100 #26
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: "Pages" | |
on: | |
push: | |
branches: [ "main" ] | |
jobs: | |
github_pages: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ssciwr/doxygen-install@v1 | |
with: | |
version: "1.9.6" | |
- uses: ts-graphviz/setup-graphviz@v1 | |
- name: Prepare Doxygen Config | |
run: echo "PROJECT_NUMBER = ${GITHUB_REF}" >> Doxyfile | |
- name: Run Doxygen | |
run: doxygen | |
- run: | | |
cd html | |
git init | |
git add -A | |
git config --local user.email "[email protected]" | |
git config --local user.name "GitHub Action" | |
git commit -m 'deploy' | |
- uses: ad-m/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
branch: gh-pages | |
force: true | |
directory: ./html |