Update nodejs.yml

This commit is contained in:
Harvey Zack authored and GitHub committed 2024-05-26 20:45:23 +08:00
1 parent 5bb44b4998
commit bc1554d240
1 file changed
+2 -1
+2 -1
View File
@@ -40,6 +40,7 @@ jobs:
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add -f docs
git commit -m 'Deploy to GitHub Pages'
git push --force-with-lease origin `git subtree split --prefix docs master`:gh-pages
git subtree split --prefix docs master -b gh-pages-temp
git push origin gh-pages-temp:refs/heads/gh-pages --force
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}