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 : Docs
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ concurrency :
9+ group : ${{ github.workflow }}-${{ github.ref }}
10+ cancel-in-progress : true
11+
12+ jobs :
13+ build-docs :
14+ name : Build docs
15+ runs-on : ubuntu-latest
16+ steps :
17+ - name : Checkout
18+ uses : actions/checkout@v4
19+
20+ - name : Setup Bun
21+ uses : oven-sh/setup-bun@v2
22+
23+ - name : Install dependencies
24+ run : bun install --frozen-lockfile
25+
26+ - name : Build docs
27+ run : bun run build
28+
29+ - name : Upload docs artifact
30+ uses : actions/upload-pages-artifact@v3
31+ with :
32+ path : build
33+
34+ deploy-docs :
35+ name : Deploy docs
36+ needs : build-docs
37+ runs-on : ubuntu-latest
38+ if : github.ref == 'refs/heads/main'
39+ permissions :
40+ contents : read
41+ pages : write
42+ id-token : write
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 @@ -20,13 +20,14 @@ export default withCallstackPreset(
2020 // logoDark: '/logo-dark.svg',
2121 // ogImage: '/og-image.jpg',
2222 rootDir : "src" ,
23- rootUrl : "https://todo.update.url. com" ,
23+ rootUrl : "https://oss.callstack. com/react-native-meta-horizon-os " ,
2424 socials : {
2525 github : "https://github.com/callstack/react-native-meta-horizon-os" ,
2626 } ,
2727 } ,
2828 } ,
2929 defineConfig ( {
30+ base : "/react-native-meta-horizon-os/" ,
3031 outDir : "build" ,
3132 } ) ,
3233) ;
You can’t perform that action at this time.
0 commit comments