fix 1 for script

This commit is contained in:
Shaun Hoffer 2024-10-02 22:18:03 -04:00
parent cac9a7a194
commit fb9c742e24

4
run.sh

@ -23,7 +23,7 @@ git config --global --add --bool push.autoSetupRemote true
git fetch 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 -f pages git checkout --orphan pages
git rm -rf . git rm -rf .
else else
git checkout -f pages git checkout -f pages
@ -36,5 +36,5 @@ fi
cp -r "$1"/* . && rm -rf "$1" cp -r "$1"/* . && rm -rf "$1"
git add -A git add -A
git commit -m "TTPages: Automated Update" git commit -am "TTPages: Automated Update"
git push -u git push -u