-
-
Notifications
You must be signed in to change notification settings - Fork 145
34 lines (28 loc) · 720 Bytes
/
deploy-docs.yml
File metadata and controls
34 lines (28 loc) · 720 Bytes
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
name: Deploy docs
on:
push:
tags: ['[0-9]+.[0-9]+.*']
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
fetch-depth: 3
- name: Fetch tags
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- uses: ./.github/actions/setup
with:
python-version: 3.11
- name: Install dependencies
run: |
pip install -U pip setuptools wheel
pip install -e .
- name: Build docs
run: time doc/build.sh
- name: Deploy docs
env:
GH_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
run: .github/deploy-gh-pages.sh