[fix] include latex in deploy #12
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 GitHub Pages Deploy Action | |
on: | |
push: | |
branches: | |
- docs | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Install Doxygen | |
run: sudo apt install -y doxygen graphviz | |
- name: Generate Doxygen documentation | |
run: cd docs && doxygen Doxyfile | |
- name: Deploy to GitHub Pages | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
cd docs | |
git config --global user.name 'Fdo Bad Vel' | |
git config --global user.email '[email protected]' | |
git init -b gh-pages | |
git add -A | |
git commit -m "Deploy to GitHub Pages" | |
git push -f https://x-access-token:${GITHUB_TOKEN}@github.com/fire2a/C2F-W.git gh-pages |