Skip to content

Update gh-pages.yml #182

Update gh-pages.yml

Update gh-pages.yml #182

Workflow file for this run

name: Pages
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
permissions:
id-token: write
pages: write
steps:
- name: Setup python
uses: actions/setup-python@v4
- name: Checkout
uses: actions/checkout@master
with:
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
- name: Install dependencies
run: |
python --version
python -m pip install --upgrade pip
python -m pip install -r requirements/requirements.txt
- name: Build and Commit
uses: sphinx-notes/pages@v3
with:
requirements_path: ./docs/doc_requirements.txt
- name: Deploy GitHub Pages site
id: deployment
uses: actions/deploy-pages@main