Skip to content

[pre-commit.ci] pre-commit autoupdate #613

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #613

Workflow file for this run

name: github pages
on: [push]
jobs:
deploy:
runs-on: ubuntu-latest
container:
image: ghcr.io/scientificcomputing/fenics-gmsh:2023-02-20
steps:
- uses: actions/checkout@v2
- name: Upgrade pip
run: |
# install pip=>20.1 to use "pip cache dir"
python3 -m pip install --upgrade pip
- name: Install dependencies
run: |
python3 -m pip install -e ".[docs,gui]"
- name: Build docs
run: |
make docs
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_build/html