Skip to content

Merge pull request #106 from LHCfitNikhef/fix-bug-datanames #113

Merge pull request #106 from LHCfitNikhef/fix-bug-datanames

Merge pull request #106 from LHCfitNikhef/fix-bug-datanames #113

Workflow file for this run

name: docs
on:
push:
branches:
- main
jobs:
deploy-ghpages:
runs-on: ubuntu-latest
strategy:
#max-parallel: 3
matrix:
python-version: [3.9]
fail-fast: false
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Python ${{ matrix.python-version }} 🐍
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install package
run: |
chmod +x install.sh
bash -l ./install.sh -n smefit_installation
- name: Build docs 🔨
run: |
source /usr/share/miniconda/bin/activate /usr/share/miniconda/envs/smefit_installation
pip install sphinx
pip install sphinx-rtd-theme
pip install sphinxcontrib-bibtex
pip install nbsphinx
pip install recommonmark
conda install pandoc
cd docs
mkdir -p source/development
make html
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: "docs/build/html" # The folder the action should deploy.