File tree 9 files changed +53
-1799
lines changed
9 files changed +53
-1799
lines changed Original file line number Diff line number Diff line change
1
+ name : Docs
2
+
3
+ on :
4
+ push :
5
+ branches : ["main"]
6
+
7
+ jobs :
8
+ build :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - name : Checkout
12
+ uses : actions/checkout@v4
13
+
14
+ - name : Set up Go
15
+ uses : actions/setup-go@v5
16
+ with :
17
+ go-version : 1.21
18
+
19
+ - name : Install pallas
20
+ run : |
21
+ curl -L -o pallas https://github.com/Vanilla-OS/Pallas/releases/download/continuous/pallas
22
+ chmod +x pallas
23
+
24
+ - name : Generate Docs
25
+ run : ./pallas
26
+
27
+ - name : Setup Pages
28
+ id : pages
29
+ uses : actions/configure-pages@v3
30
+
31
+ - name : Build with Jekyll
32
+ uses : actions/jekyll-build-pages@v1
33
+ with :
34
+ source : ./dist
35
+ destination : ./_site
36
+
37
+ - name : Upload artifact
38
+ uses : actions/upload-pages-artifact@v2
39
+
40
+ deploy :
41
+ permissions :
42
+ contents : read
43
+ pages : write
44
+ id-token : write
45
+ environment :
46
+ name : github-pages
47
+ url : ${{steps.deployment.outputs.page_url}}
48
+ runs-on : ubuntu-latest
49
+ needs : build
50
+ steps :
51
+ - name : Deploy to GitHub Pages
52
+ id : deployment
53
+ uses : actions/deploy-pages@v2
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments