-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
12 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,10 +44,13 @@ export async function deployDocs() { | |
} | ||
await runSpawnSync(`git commit -m "deploy"`, RUN_PATH) | ||
await runSpawnSync( | ||
`git push -f [email protected]:saqqdy/gitmars.git master:gh-pages`, | ||
`git push -f https://github.com/saqqdy/gitmars.git master:gh-pages`, | ||
RUN_PATH | ||
) | ||
await runSpawnSync( | ||
`git push -f https://github.com/saqqdy/gitmars.git master:gh-pages`, | ||
RUN_PATH | ||
) | ||
await runSpawnSync(`git push -f [email protected]:saqqdy/gitmars.git master:gh-pages`, RUN_PATH) | ||
}) | ||
await Promise.all(builds) | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,8 +26,8 @@ git commit -m 'deploy' | |
# git push -f [email protected]:<USERNAME>/<REPO>.git master:gh-pages | ||
|
||
# 把上面的 <USERNAME> 换成你自己的 Github 用户名,<REPO> 换成仓库名,比如我这里就是: | ||
git push -f git@github.com:saqqdy/gitmars.git master:gh-pages | ||
git push -f git@gitee.com:saqqdy/gitmars.git master:gh-pages | ||
git push -f https://github.com/saqqdy/gitmars.git master:gh-pages | ||
git push -f https://github.com/saqqdy/gitmars.git master:gh-pages | ||
|
||
cd - | ||
|
||
|