Skip to content

Commit 4785c05

Browse files
committed
update
1 parent b47d857 commit 4785c05

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/hexo.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,5 @@ jobs:
4848
hexo deploy
4949
- name: Deploy # step4
5050
run: |
51-
git symbolic-ref HEAD refs/heads/gh-pages
52-
git add -f *
53-
git commit -m "update"
54-
git push --force origin gh-pages
51+
git subtree add --prefix=public gh-pages gh-pages --squash
52+
git subtree push --prefix=public origin gh-pages --squash

0 commit comments

Comments
 (0)