Skip to content

Update generate-gh-pages.yml #22

Update generate-gh-pages.yml

Update generate-gh-pages.yml #22

name: gh-pages generation
on:
push:
branches:
- main
jobs:
generate:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- 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