Skip to content

Commit

Permalink
script
Browse files Browse the repository at this point in the history
  • Loading branch information
saqqdy committed Feb 1, 2024
1 parent 25b7d34 commit 0bcf4db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build/tasks/buildDocs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ export async function deployDocs() {
}
await runSpawnSync(`git commit -m "deploy"`, RUN_PATH)
await runSpawnSync(
`git push -f https://github.com/saqqdy/gitmars.git master:gh-pages`,
`git push -f https://github.com/saqqdy/gitmars.git main:gh-pages`,
RUN_PATH
)
await runSpawnSync(
`git push -f https://github.com/saqqdy/gitmars.git master:gh-pages`,
`git push -f https://gitee.com/saqqdy/gitmars.git main:gh-pages`,
RUN_PATH
)
})
Expand Down
2 changes: 1 addition & 1 deletion scripts/deploy-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ git commit -m 'deploy'

# 把上面的 <USERNAME> 换成你自己的 Github 用户名,<REPO> 换成仓库名,比如我这里就是:
git push -f https://github.com/saqqdy/gitmars.git main:gh-pages
git push -f https://github.com/saqqdy/gitmars.git main:gh-pages
git push -f https://gitee.com/saqqdy/gitmars.git main:gh-pages

cd -

Expand Down

0 comments on commit 0bcf4db

Please sign in to comment.