forked from fossology/fossology-python
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (28 loc) · 805 Bytes
/
Copy pathdoc-deploy.yml
File metadata and controls
34 lines (28 loc) · 805 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: Publish Document Pages
on:
push:
branches:
- main
jobs:
doc-deploy:
name: Deploy document pages
runs-on: ubuntu-latest
container: 'python:3.11-slim'
steps:
- name: Install host dependencies
run: |
apt-get -qq update
apt-get install -qqy gcc git rsync
- uses: actions/checkout@v2
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade poetry
poetry install --with=dev
- name: Build the documents
run: poetry run sphinx-build -b html docs-source docs
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4.4.1
with:
branch: gh-pages
folder: docs