fix 1 for script
This commit is contained in:
parent
cac9a7a194
commit
fb9c742e24
4
run.sh
4
run.sh
@ -23,7 +23,7 @@ git config --global --add --bool push.autoSetupRemote true
|
||||
git fetch
|
||||
|
||||
if ! git ls-remote --exit-code --heads origin pages; then
|
||||
git checkout --orphan -f pages
|
||||
git checkout --orphan pages
|
||||
git rm -rf .
|
||||
else
|
||||
git checkout -f pages
|
||||
@ -36,5 +36,5 @@ fi
|
||||
|
||||
cp -r "$1"/* . && rm -rf "$1"
|
||||
git add -A
|
||||
git commit -m "TTPages: Automated Update"
|
||||
git commit -am "TTPages: Automated Update"
|
||||
git push -u
|
Loading…
Reference in New Issue
Block a user