Skip to content

refactor: 🎨 Rearrange codebase. #3

refactor: 🎨 Rearrange codebase.

refactor: 🎨 Rearrange codebase. #3

Workflow file for this run

name: Generate Pages
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v2
with:
python-version: '3.10'
- uses: actions/checkout@master
with:
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
- name: install dacapo
run: pip install .
- name: Build and Commit
uses: sphinx-notes/pages@v2
with:
documentation_path: ./docs/source
requirements_path: ./docs/requirements.txt
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages