File tree Expand file tree Collapse file tree 1 file changed +8
-14
lines changed Expand file tree Collapse file tree 1 file changed +8
-14
lines changed Original file line number Diff line number Diff line change @@ -13,23 +13,17 @@ jobs:
1313 - name : Checkout repository
1414 uses : actions/checkout@v4
1515
16- - name : Setup Node.js
17- uses : actions/setup-node@v4
18- with :
19- node-version : 18
20- cache : pnpm
21-
22- - name : Setup pnpm
23- uses : pnpm/action-setup@v2
24- with :
25- version : 9
26- run_install : true
16+ - name : Build Docker image
17+ run : docker build -t annodocs-builder -f container/Dockerfile .
2718
28- - name : Build docs
29- run : pnpm run build
19+ - name : Extract built docs
20+ run : |
21+ docker create --name extract annodocs-builder
22+ docker cp extract:/app/dist ./dist
23+ docker rm -f extract
3024
3125 - name : Deploy to GitHub Pages
3226 uses : peaceiris/actions-gh-pages@v3
3327 with :
3428 github_token : ${{ secrets.GITHUB_TOKEN }}
35- publish_dir : ./build
29+ publish_dir : ./dist
You can’t perform that action at this time.
0 commit comments