fix 1 for workflow
This commit is contained in:
parent
9f77ebe01e
commit
b6b56b783a
2
run.sh
2
run.sh
@ -20,6 +20,8 @@ git config --global user.email "support@ttnrtsite.me"
|
|||||||
git config --global user.name "TTGit Automation Bot"
|
git config --global user.name "TTGit Automation Bot"
|
||||||
git config --global --add --bool push.autoSetupRemote true
|
git config --global --add --bool push.autoSetupRemote true
|
||||||
|
|
||||||
|
git fetch
|
||||||
|
|
||||||
if ! git ls-remote --exit-code --heads origin pages; then
|
if ! git ls-remote --exit-code --heads origin pages; then
|
||||||
git checkout --orphan pages
|
git checkout --orphan pages
|
||||||
git rm -rf .
|
git rm -rf .
|
||||||
|
Loading…
Reference in New Issue
Block a user