After push,appear a new branch?how do I do that #4988
Answered
by
renbaoshuo
GC-ZF
asked this question in
Question / Answer
-
Uploaded to the main,Is the expected result(这样是正确的)
But If I switch lines(I want to deploy multiple Git at the same time),for example(但是如果换一行,我想同时上传多个git)
The github will appear a new branch "gh-pages"(仓库出现新的分支) I found that if switch line, the repository appear new branch,Whether "branch: main" or "gh-pages",(我测试发现,无论branch的值是main还是master,只要我换行就会出现这样的错误)
So how do I do that?These are the test repository |
Beta Was this translation helpful? Give feedback.
Answered by
renbaoshuo
Jun 22, 2022
Replies: 1 comment
-
您应该这样写: deploy:
type: git
repository:
github:
url: https://github.com/xxx/xxxx.github.io.git
branch: main
gitsb:
url: git@git.sb/example/example.git
branch: main |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
renbaoshuo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
您应该这样写: