File tree Expand file tree Collapse file tree 1 file changed +19
-7
lines changed
Expand file tree Collapse file tree 1 file changed +19
-7
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches : [master]
66 paths :
7- - ' docs /**'
7+ - ' website /**'
88 workflow_dispatch :
99
1010permissions :
@@ -19,13 +19,25 @@ jobs:
1919 - name : Checkout Repository
2020 uses : actions/checkout@v4
2121
22- - name : Enable Corepack and Set up Yarn 4.0.0
23- run : corepack enable && corepack prepare yarn@4.0.0 --activate
22+ - name : Setup Node.js
23+ uses : actions/setup-node@v4
24+ with :
25+ node-version : ' 20'
26+ cache : ' yarn'
27+ cache-dependency-path : website/yarn.lock
28+
29+ - name : Install Dependencies
30+ working-directory : ./website
31+ run : yarn install --immutable
32+
33+ - name : Build Docusaurus Website
34+ working-directory : ./website
35+ run : yarn build
2436
25- - name : Build and Upload Checkmate Docs
26- uses : withastro/action @v3
37+ - name : Upload Build Artifact
38+ uses : actions/upload-pages-artifact @v3
2739 with :
28- path : docs
40+ path : website/build
2941 env :
3042 GOOGLE_ANALYTICS_TOKEN : ${{ secrets.GOOGLE_ANALYTICS_TOKEN }}
3143
3648 name : github-pages
3749 url : ${{ steps.deployment.outputs.page_url }}
3850 steps :
39- - name : Deploy Checkmate Docs to GitHub Pages
51+ - name : Deploy Docusaurus Website to GitHub Pages
4052 id : deployment
4153 uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments