Skip to content

Merge pull request #1036 from haddocking/rvhonorato-patch-1 #242

Merge pull request #1036 from haddocking/rvhonorato-patch-1

Merge pull request #1036 from haddocking/rvhonorato-patch-1 #242

Workflow file for this run

name: pages
on:
push:
branches:
- main
jobs:
pages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Install dependencies
run: |
python -m pip install pip==23.1.2 setuptools==67.7.2 wheel==0.40.0
pip install virtualenv==20.23.0 tox==4.5.1.1
# needs to install hd3 so the command-line pages are
# rendered properly
- name: Install HADDOCK3
run: pip install -v .
- name: Generate docs
run: |
tox -e docs
touch haddock3-docs/.nojekyll
- name: deploy
uses: s0/git-publish-subdir-action@develop
env:
REPO: self
BRANCH: gh-pages
FOLDER: haddock3-docs
GITHUB_TOKEN: ${{ secrets.PAGES }}