File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : pages
2+
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+ workflow_dispatch :
8+
9+ permissions :
10+ contents : read
11+ pages : write
12+ id-token : write
13+
14+ concurrency :
15+ group : pages
16+ cancel-in-progress : true
17+
18+ jobs :
19+ deploy :
20+ runs-on : ubuntu-latest
21+ timeout-minutes : 25
22+ environment :
23+ name : github-pages
24+ url : ${{ steps.deployment.outputs.page_url }}
25+ steps :
26+ - uses : actions/checkout@v4
27+ with :
28+ fetch-depth : 0
29+
30+ - uses : taiki-e/install-action@v2
31+ with :
32+ tool : mise
33+
34+ - name : Install mise tools
35+ run : |
36+ mise settings add idiomatic_version_file_enable_tools "[]"
37+ mise settings experimental=true
38+ mise install
39+ env :
40+ GITHUB_TOKEN : ${{ github.token }}
41+
42+ - name : Build site
43+ run : dg site
44+
45+ - uses : actions/configure-pages@v5
46+
47+ - uses : actions/upload-pages-artifact@v3
48+ with :
49+ path : .dg/site
50+
51+ - uses : actions/deploy-pages@v4
52+ id : deployment
53+ if : github.event_name != 'pull_request'
You can’t perform that action at this time.
0 commit comments