refactor WSO dirk interface to all be in one class; update dirk tests… #217
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/deploy docs | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
build: | |
name: "Build docs" | |
runs-on: self-hosted | |
container: | |
image: firedrakeproject/firedrake-vanilla:latest | |
steps: | |
- name: Fix permissions | |
run: | | |
sudo chmod -R 777 $GITHUB_WORKSPACE /github /__w/_temp | |
- uses: actions/checkout@v2 | |
- name: Install | |
run: | | |
. /home/firedrake/firedrake/bin/activate | |
python -m pip install -e . | |
python -m pip install sphinx | |
python -m pip install sphinxcontrib-bibtex | |
- name: Build docs | |
run: | | |
. /home/firedrake/firedrake/bin/activate | |
make -C docs html | |
- name: Deploy docs | |
if: ${{ github.ref == 'refs/heads/master' }} | |
uses: crazy-max/[email protected] | |
with: | |
target_branch: gh-pages | |
build_dir: ./docs/build/html | |
keep_history: false | |
allow_empty_commit: false | |
jekyll: false | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |