Skip to content

Merge pull request #1013 from haddocking/installation #240

Merge pull request #1013 from haddocking/installation

Merge pull request #1013 from haddocking/installation #240

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: |
pwd
ls -lsa
mkdir bin
touch bin/cns
cd src/fcc/src
chmod u+x Makefile
./Makefile 2>%1 >/dev/null || true
cd -
- 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 }}