Skip to content

Merge pull request #151 from haniffalab/sanger_profile #17

Merge pull request #151 from haniffalab/sanger_profile

Merge pull request #151 from haniffalab/sanger_profile #17

Workflow file for this run

name: deploy-docs
on:
push:
branches: [main]
tags: ["v*"]
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r ./envs/requirements.txt
pip install -r ./envs/dev/requirements.txt
pip install -r ./envs/build_config/requirements.txt
- name: Sphinx Build
working-directory: ./sphinx
run: |
make html
touch _build/html/.nojekyll
- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: sphinx/_build/html
target-folder: docs
clean: true