File tree Expand file tree Collapse file tree 1 file changed +53
-0
lines changed
Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Pallas
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@v5
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@v3
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@v4
You can’t perform that action at this time.
0 commit comments