Skip to content

Commit 0e32164

Browse files
add force_orphan to true
1 parent 8c1f2ea commit 0e32164

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ jobs:
1919
uses: actions/upload-artifact@v4
2020
with:
2121
name: public
22-
path: ./public # This is your static site folder
22+
path: ./public
2323
retention-days: 1
24+
2425
deploy:
2526
runs-on: ubuntu-latest
2627
needs: build
@@ -33,9 +34,11 @@ jobs:
3334
with:
3435
name: public
3536
path: ./public
37+
3638
- name: Deploy
3739
uses: peaceiris/actions-gh-pages@v4
3840
if: github.ref == 'refs/heads/master'
3941
with:
4042
github_token: ${{ secrets.GITHUB_TOKEN }}
41-
publish_dir: ./public
43+
publish_dir: ./public
44+
force_orphan: true

0 commit comments

Comments
 (0)