-
-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (37 loc) · 952 Bytes
/
docs.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: "Arcana Docs"
on:
push:
branches:
- 'main'
jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Initialize Env
shell: bash
env:
WORKSPACE: ${{ github.workspace }}
run: |
echo "$HOME/.local/bin:$PATH" >> $GITHUB_PATH
echo "GITHUB_WORKSPACE=\"`pwd`\"" >> $GITHUB_ENV
- name: Checkout
uses: actions/checkout@v3
- name: Setup
shell: bash
run: |
sudo apt-get update
python -m pip install --user --upgrade pip setuptools wheel setuptools_scm nox
- name: Build Docs
shell: bash
run: |
nox -s docs
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
BRANCH: gh-pages
FOLDER: build/docs/
CLEAN: true