-
Notifications
You must be signed in to change notification settings - Fork 19
48 lines (39 loc) · 1.23 KB
/
docs.yaml
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
42
43
44
45
46
47
48
name: Build and Deploy Documentation
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y meson ninja-build libgtk-4-dev git gobject-introspection python-gi-dev valac libpulse-dev gir1.2-nm-1.0 gir1.2-gstreamer-1.0 python3-requests python-is-python3 python3-pip python3-cairo
- name: Build gtk4-layer-shell
run: |
git clone https://github.com/wmww/gtk4-layer-shell.git
cd gtk4-layer-shell
meson setup build --prefix=/usr
ninja -C build
sudo ninja -C build install
- name: Install Python dependencies
run: |
pip install sphinx sphinx_book_theme --break-system-packages
- name: Build Ignis
run: |
meson setup build --prefix=/usr
ninja -C build
sudo ninja -C build install
- name: Build documentation
run: |
cd docs
make html
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_build/html