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 Docs
2+
3+ on :
4+ push :
5+ branches : ["main"]
6+
7+ permissions :
8+ contents : read
9+ pages : write
10+ id-token : write
11+
12+ concurrency :
13+ group : " pages"
14+ cancel-in-progress : true
15+
16+ jobs :
17+ build :
18+ runs-on : ubuntu-latest
19+ steps :
20+ - uses : actions/checkout@v4
21+
22+ - name : Setup Node
23+ uses : actions/setup-node@v4
24+ with :
25+ node-version : 20
26+ cache : " npm"
27+ cache-dependency-path : docs/package-lock.json
28+
29+ - name : Install dependencies
30+ run : npm --prefix docs ci
31+
32+ - name : Build site
33+ run : npm --prefix docs run build
34+
35+ - name : Upload artifact
36+ uses : actions/upload-pages-artifact@v3
37+ with :
38+ path : docs/build
39+
40+ deploy :
41+ needs : build
42+ runs-on : ubuntu-latest
43+ environment :
44+ name : github-pages
45+ url : ${{ steps.deployment.outputs.page_url }}
46+ steps :
47+ - name : Deploy to GitHub Pages
48+ id : deployment
49+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 11const config = {
22 title : "FrameScript Docs" ,
33 tagline : "Hello, world!" ,
4- url : "http://localhost" ,
5- baseUrl : "/" ,
4+ url : "https://frame-script.github.io" ,
5+ baseUrl : "/FrameScript/" ,
6+ organizationName : "frame-script" ,
7+ projectName : "FrameScript" ,
68 onBrokenLinks : "throw" ,
79 onBrokenMarkdownLinks : "warn" ,
810 i18n : {
You can’t perform that action at this time.
0 commit comments