-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (34 loc) · 870 Bytes
/
build-docs.yml
File metadata and controls
39 lines (34 loc) · 870 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
35
36
37
38
39
name: publish
on:
push:
branches:
- main
workflow_dispatch:
inputs:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
run: |
sudo apt-get install python3
- name: Install dependencies
run: |
sudo apt-get install build-essential python3-dev
sudo apt install libgirepository1.0-dev
python3 -m pip install --upgrade pip
pip3 install -r requirements.txt
- name: Setup
run: |
pip install -e .
- name: run
run: |
sudo apt install pandoc
cd ./docs
make html
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs