Skip to content

Update generate-gh-pages.yml #21

Update generate-gh-pages.yml

Update generate-gh-pages.yml #21

name: gh-pages generation
on:
push:
branches:
- main
jobs:
generate:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v4
- name: Install dependencies with pip
run: |
export DEBIAN_FRONTEND=noninteractive
sudo apt update
pip install --no-warn-script-location --user --upgrade -r requirements.txt
- name: Building documentation
run: |
make html
- name: Publishing documentation to gh-pages
run: |
make GITHUB_USER=${{secrets.DOC_GITHUB_USER1}} GITHUB_TOKEN=${{secrets.DOC_GITHUB_TOKEN1}} publish