Documentation #55
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: Documentation | |
on: workflow_dispatch | |
jobs: | |
doc: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: doc | |
env: | |
DOCTOK: ${{ secrets.DOCTOK }} | |
run: | | |
sudo apt-get install doxygen | |
cd ${{ github.workspace }} | |
mkdir build | |
cd build | |
cmake .. | |
make DOC | |
cd ../.. | |
git clone -b gh-pages https://github.com/aslze/asl-doc | |
cd asl-doc | |
git config user.name "aslze" | |
cp -rf ../asl/build/doc/* . | |
git add --all | |
git commit -m "Update documentation" -a && git push https://aslze:[email protected]/aslze/asl-doc.git || echo "Documentation already up-to-date" | |