ENH: Remove lua bindings #169
Workflow file for this run
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: "Build d-SEAMS API Docs" | |
on: [push, pull_request] | |
jobs: | |
build_apidocs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Get external tags | |
run: | | |
mkdir -p tags | |
cd tags | |
curl https://upload.cppreference.com/mwiki/images/f/f8/cppreference-doxygen-web.tag.xml -o cppreference-doxygen-web.tag.xml | |
- name: Get Theme | |
run: | | |
wget https://github.com/HaoZeke/doxyYoda/releases/download/0.0.2/doxyYoda_0.0.2.tar.gz | |
tar xf doxyYoda_0.0.2.tar.gz | |
- uses: cachix/install-nix-action@v20 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- uses: cachix/cachix-action@v12 | |
with: | |
name: dseams | |
- run: nix-shell --run "doxygen Doxyfile-prj.cfg" | |
- run: | | |
find docs/ -type f -name "*" -print0 | xargs -0 sed -i '' -e 's/>Pages</>Wiki</g' || true | |
- name: Deploy Documentation | |
if: ${{ (github.ref == 'refs/heads/main' && github.repository == 'd-SEAMS/seams-core') || (github.ref == 'refs/heads/master' && github.repository == 'd-SEAMS/seams-core')}} | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./docs/html |