Skip to content

Merge pull request #11 from equinor/subsheat3D/test_from_grids #29

Merge pull request #11 from equinor/subsheat3D/test_from_grids

Merge pull request #11 from equinor/subsheat3D/test_from_grids #29

Workflow file for this run

# This workflows will upload a Python Package using Twine when a release is created
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
name: docs
on:
workflow_dispatch:
workflow_call:
push:
branches: [ main ]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
curl -sSL https://install.python-poetry.org | python3
poetry install --with dev --no-interaction
- name: Build
run: |
cd docs
sudo apt-get install pandoc
poetry run make html
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_build/html
destination_dir: ./