Merge pull request #150 from tn4799/string_impl #62
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: Deploy Documentation | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
deploy: | |
name: Deploy Docs | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Setup VM | |
run: | | |
./.github/workflows/install_packages.sh | |
sudo apt-get install doxygen graphviz | |
pip3 install jinja2 Pygments | |
# need to download plantuml manually because the version in the repos is way to old | |
curl -L http://sourceforge.net/projects/plantuml/files/plantuml-nodot.1.2021.1.jar/download -o /tmp/plantuml.jar | |
sudo mkdir -p /usr/share/plantuml | |
sudo mv /tmp/plantuml.jar /usr/share/plantuml | |
- name: Setup CMake | |
run: ./scripts/setup_build.sh | |
- name: Build Documentation | |
run: ./scripts/docs.sh | |
- name: Deploy Docs to Github Pages | |
uses: s0/[email protected] | |
env: | |
REPO: self | |
BRANCH: gh-pages | |
FOLDER: build/docs/html | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |