Skip to content

Commit b3dbf01

Browse files
committed
feat: avoid pushing api folder to gh-pages.
1 parent fe4c38c commit b3dbf01

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
# - cron: "0 6 * * *"
77
push:
88
paths:
9-
- "public/index.html"
9+
- "public/docs/index.html"
1010

1111
jobs:
1212
build:
@@ -20,8 +20,8 @@ jobs:
2020
git config --local user.email "github-actions[bot]"
2121
git config --local user.name "41898282+github-actions[bot]@users.noreply.github.com"
2222
git commit -m 'deploy'
23-
working-directory: ./public
23+
working-directory: ./public/docs
2424
- uses: JamesIves/[email protected]
2525
with:
2626
branch: gh-pages
27-
folder: public
27+
folder: public/docs

0 commit comments

Comments
 (0)