Skip to content

updated changelog; #1669

updated changelog;

updated changelog; #1669

Workflow file for this run

name: docs
on:
push:
pull_request:
branches:
- main
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up environment
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Almighty"
- uses: actions/checkout@v1
- name: Set up Python 3.11
uses: actions/setup-python@v1
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-devel.txt
pip install .
- name: Build docs
# Make makefile-html in docs folder
run: |
make -C docs html
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: docs/build/html/
# Deployment job
deploy:
if: github.ref_name == 'main'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1