tangled
alpha
login
or
join now
oeiuwq.com
/
den
8
fork
atom
Modular, context-aware and aspect-oriented dendritic Nix configurations. Discussions: https://oeiuwq.zulipchat.com/join/nqp26cd4kngon6mo3ncgnuap/
den.oeiuwq.com
configurations
den
dendritic
nix
aspect
oriented
8
fork
atom
overview
issues
4
pulls
2
pipelines
Add gh-pages deploy action
oeiuwq.com
4 months ago
0d3c9ae3
316f5596
+40
1 changed file
expand all
collapse all
unified
split
.github
workflows
gh-pages.yml
+40
.github/workflows/gh-pages.yml
···
1
1
+
name: GH Pages
2
2
+
on:
3
3
+
gollum:
4
4
+
workflow_dispatch:
5
5
+
permissions:
6
6
+
contents: read
7
7
+
pages: write
8
8
+
id-token: write
9
9
+
concurrency:
10
10
+
group: "pages"
11
11
+
cancel-in-progress: true
12
12
+
jobs:
13
13
+
deploy:
14
14
+
environment:
15
15
+
name: github-pages
16
16
+
url: ${{ steps.deployment.outputs.page_url }}
17
17
+
runs-on: ubuntu-latest
18
18
+
steps:
19
19
+
- name: Install mdbook
20
20
+
run: |
21
21
+
set -e
22
22
+
MDBOOK_VERSION=$(curl -s "https://api.github.com/repos/rust-lang/mdBook/releases/latest" | grep -Po '"tag_name": "v\K[0-9.]+')
23
23
+
wget -qO mdbook.tar.gz https://github.com/rust-lang/mdBook/releases/latest/download/mdbook-v$MDBOOK_VERSION-x86_64-unknown-linux-gnu.tar.gz
24
24
+
sudo tar xf mdbook.tar.gz -C /usr/local/bin mdbook
25
25
+
mdbook --version
26
26
+
- name: Checkout
27
27
+
uses: actions/checkout@v4
28
28
+
with:
29
29
+
repository: '${{github.repository}}.wiki'
30
30
+
- name: Build
31
31
+
run: mdbook build
32
32
+
- name: Setup Pages
33
33
+
uses: actions/configure-pages@v5
34
34
+
- name: Upload artifact
35
35
+
uses: actions/upload-pages-artifact@v3
36
36
+
with:
37
37
+
path: './book'
38
38
+
- name: Deploy to GitHub Pages
39
39
+
id: deployment
40
40
+
uses: actions/deploy-pages@v4