-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (36 loc) · 972 Bytes
/
sphinx.yml
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
name: Pages
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v4
with:
python-version: '3.9'
- uses: actions/checkout@v3
with:
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
- name: Install locales
run: |
sudo apt-get install --yes locales-all --reinstall
- name: Download template
run: |
git clone https://github.com/GISMentors/sphinx-template.git $RUNNER_WORKSPACE/sphinx-template
cd $RUNNER_WORKSPACE/sphinx-template
git checkout en
- name: Build and Commit
uses: sphinx-notes/[email protected]
with:
documentation_path: ./
sphinx_version: 5.3.0
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages