31 lines
538 B
YAML
31 lines
538 B
YAML
name: build
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Setup Python
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: 3.9.0-beta.4 - 3.9.0
|
|
|
|
- name: Check out
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Build Site
|
|
run: |
|
|
python -m pip install Sphinx furo
|
|
make html
|
|
|
|
- name: Deploy Site
|
|
uses: peaceiris/actions-gh-pages@v3
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
publish_dir: ./build/html
|