File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ name : site
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ permissions :
8+ contents : read
9+ pages : write
10+ id-token : write
11+ jobs :
12+ build :
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - name : Checkout
17+ uses : actions/checkout@v5
18+ with :
19+ submodules : recursive
20+ fetch-depth : 0
21+ - name : Install .NET 9.0
22+ uses : actions/setup-dotnet@v5
23+ with :
24+ dotnet-version : ' 9.0.x'
25+ - name : Setup Pages
26+ id : pages
27+ uses : actions/configure-pages@v5
28+ - name : Build web site
29+ run : |
30+ dotnet tool install --global lunet --version "0.7.*"
31+ lunet build
32+ - name : Upload artifact
33+ uses : actions/upload-pages-artifact@v3
34+ with :
35+ path : ./.lunet/build/www
36+
37+ deploy :
38+ environment :
39+ name : github-pages
40+ url : ${{ steps.deployment.outputs.page_url }}
41+ runs-on : ubuntu-latest
42+ needs : build
43+ steps :
44+ - name : Deploy to GitHub Pages
45+ id : deployment
46+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments