File tree Expand file tree Collapse file tree 1 file changed +11
-12
lines changed Expand file tree Collapse file tree 1 file changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -16,16 +16,15 @@ jobs:
16
16
17
17
- run : pnpm build
18
18
19
- # FAILING with error about permissions
20
- # - name: Deploy to GitHub Pages
21
- # uses: peaceiris/actions-gh-pages@v3
22
- # with:
23
- # github_token: ${{ secrets.GITHUB_TOKEN }}
24
- # publish_dir: ./dist
19
+ - name : Build
20
+ run : pnpm build -- --base /presentation-libgit2-nodegit-native-git-oh-my/
25
21
26
- - name : Deploy with gh-pages
27
- run : |
28
- git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
29
- pnpm dlx gh-pages -d dist -u "github-actions-bot <[email protected] >"
30
- env :
31
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
22
+ - uses : actions/configure-pages@v4
23
+
24
+ - uses : actions/upload-pages-artifact@v3
25
+ with :
26
+ path : dist
27
+
28
+ - name : Deploy
29
+ id : deployment
30
+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments