Skip to content

Merge pull request #90 from NNPDF/use-rich-click #102

Merge pull request #90 from NNPDF/use-rich-click

Merge pull request #90 from NNPDF/use-rich-click #102

Workflow file for this run

# Deploy documentation into the Github Page
name: docs
on:
push:
workflow_dispatch:
jobs:
deploy-ghpages:
runs-on: ubuntu-latest
strategy:
max-parallel: 2
matrix:
python-version: ["3.10"]
fail-fast: false
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
- name: Set up Python 🐍
id: setup-python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install packages 📦
run: |
python -m pip install --upgrade pip
pip install -r ./docs/docs-requirements.txt
- name: Build 🔨
run: |
cd docs/
make html
touch build/html/.nojekyll
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
ACCESS_TOKEN: ${{ secrets.DEPLOY_DOCS }}
BRANCH: gh-pages
FOLDER: "docs/build/html"