generated from readthedocs/tutorial-template
-
Notifications
You must be signed in to change notification settings - Fork 7
39 lines (39 loc) · 1.01 KB
/
example-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
name: Pages
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-22.04
container:
image: ros:humble
steps:
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- uses: actions/checkout@master
with:
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
path: main
- uses: actions/checkout@master
with:
repository: aerostack2/aerostack2
ref: main
path: aerostack2
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
- name: Apt update
run: sudo apt-get update
- name: Install doxygen
run: sudo apt-get install -y doxygen
- name: Build and Commit
uses: aerostack2/pages@v2
with:
aerostack2_modules: as2_python_api, aerostack2
sphinx_version: 7.2.6
- name: Push changes
uses: ad-m/github-push-action@master
with:
directory: main
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages