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 : Deploy site to GitHub Pages
2+
3+ on :
4+ push :
5+ branches : [main]
6+ workflow_dispatch :
7+
8+ permissions :
9+ contents : read
10+ pages : write
11+ id-token : write
12+
13+ concurrency :
14+ group : pages
15+ cancel-in-progress : true
16+
17+ jobs :
18+ build-and-deploy :
19+ runs-on : ubuntu-latest
20+ environment :
21+ name : github-pages
22+ url : ${{ steps.deployment.outputs.page_url }}
23+ steps :
24+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
25+
26+ - uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
27+ with :
28+ node-version : 24
29+
30+ - name : Fetch forgesworn-repos.json
31+ run : curl -fsSL https://raw.githubusercontent.com/forgesworn/.github/main/forgesworn-repos.json -o forgesworn-repos.json
32+
33+ - name : Build site
34+ run : node scripts/build-site.mjs
35+
36+ - uses : actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1
37+ with :
38+ path : site
39+
40+ - id : deployment
41+ uses : actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5
You can’t perform that action at this time.
0 commit comments