Silent remote rm
This commit is contained in:
parent
513eddb823
commit
157dc1cd7e
|
@ -25,7 +25,7 @@ if [ -z "$(git status --porcelain)" ]; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
git remote rm origin || true
|
git remote rm origin > /dev/null 2>&1 || true
|
||||||
git remote add origin "${REPO}"
|
git remote add origin "${REPO}"
|
||||||
git add .
|
git add .
|
||||||
git commit --allow-empty -m 'Deploy to GitHub pages'
|
git commit --allow-empty -m 'Deploy to GitHub pages'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user