-
Notifications
You must be signed in to change notification settings - Fork 2
44 lines (37 loc) · 1.06 KB
/
pages.yml
File metadata and controls
44 lines (37 loc) · 1.06 KB
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
name: "GitHub Pages"
on:
workflow_dispatch:
push:
concurrency:
group: "doc"
cancel-in-progress: true
jobs:
doc:
name: "Deploy pages"
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
permissions:
contents: write
pages: write
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Disable initramfs update
run: sudo sed -i 's/yes/no/g' /etc/initramfs-tools/update-initramfs.conf
- name: Disable man-db update
run: sudo rm -f /var/lib/man-db/auto-update
- name: Setup Taiga
run: cd www && wget https://j.nishi.boats/job/pyrite-dev/job/taiga/job/master/lastSuccessfulBuild/artifact/taiga-linux64 -O taiga && chmod +x taiga
- name: Build site
run: cd www && ./taiga
- name: Setup pages
uses: actions/configure-pages@v4
- name: Upload pages
uses: actions/upload-pages-artifact@v3
with:
path: "www/build"
- name: Deploy pages
uses: actions/deploy-pages@v4