Skip to content

Commit 50348ef

Browse files
committed
feat: exclude api folder from Pages deployment.
1 parent 6c6b5e7 commit 50348ef

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
- run: |
1818
git init
1919
git add -A
20+
git reset HEAD api/
21+
git rm -r --cached api/
2022
git config --local user.email "github-actions[bot]"
2123
git config --local user.name "41898282+github-actions[bot]@users.noreply.github.com"
2224
git commit -m 'deploy'

0 commit comments

Comments
 (0)