File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed
Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Docs Preview
2+
3+ on :
4+ push :
5+ branches :
6+ - feat/updated-docs-with-starlight
7+
8+ permissions :
9+ contents : read
10+ pages : write
11+ id-token : write
12+
13+ concurrency :
14+ group : docs-preview
15+ cancel-in-progress : true
16+
17+ jobs :
18+ publish_docs :
19+ name : Publish Documentation Preview
20+ runs-on : ubuntu-latest
21+ environment :
22+ name : github-pages
23+ url : ${{ steps.deployment.outputs.page_url }}
24+ steps :
25+ - name : Checkout source code
26+ uses : actions/checkout@v4
27+
28+ - name : Setup Node.js
29+ uses : actions/setup-node@v4
30+ with :
31+ node-version : 22.x
32+ cache : ' npm'
33+
34+ - name : Install dependencies
35+ run : npm ci
36+
37+ - name : Build documentation
38+ run : npm run docs:build
39+
40+ - name : Publish docs to GitHub Pages
41+ id : deployment
42+ uses : algorandfoundation/algokit-shared-config/.github/actions/publish-docs@main
43+ with :
44+ artifact_path : docs/dist
You can’t perform that action at this time.
0 commit comments