2020-08-07 10:49:27 +02:00
|
|
|
name: build
|
2020-08-26 11:26:46 +02:00
|
|
|
|
2020-08-07 10:49:27 +02:00
|
|
|
on:
|
|
|
|
push:
|
2020-08-30 18:03:34 +02:00
|
|
|
branches:
|
|
|
|
- main
|
2020-08-26 11:26:46 +02:00
|
|
|
|
2020-08-07 10:49:27 +02:00
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
2020-08-26 11:26:46 +02:00
|
|
|
|
2020-08-07 10:49:27 +02:00
|
|
|
steps:
|
|
|
|
- name: Setup Python
|
|
|
|
uses: actions/setup-python@v2
|
|
|
|
with:
|
|
|
|
python-version: 3.9.0-beta.4 - 3.9.0
|
|
|
|
|
2020-08-30 18:03:34 +02:00
|
|
|
- name: Check out
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
2020-08-08 10:56:49 +02:00
|
|
|
- name: Build Site
|
|
|
|
run: |
|
2020-09-30 18:43:02 +02:00
|
|
|
python -m pip install Sphinx furo
|
2020-08-08 10:56:49 +02:00
|
|
|
make html
|
|
|
|
|
|
|
|
- name: Deploy Site
|
2020-10-13 07:11:13 +02:00
|
|
|
uses: peaceiris/actions-gh-pages@v3
|
|
|
|
with:
|
|
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
publish_dir: ./build/html
|