mirror of
https://github.com/nikdoof/website-hugo.git
synced 2025-12-13 13:22:22 +00:00
Reset the branch after deploying
This commit is contained in:
@@ -41,3 +41,6 @@ for BRANCH in $(git for-each-ref --format='%(refname:short)' refs/heads); do
|
||||
done
|
||||
|
||||
echo "</ul>" >> "${INDEX_PAGE}"
|
||||
|
||||
# Reset the repo back to main
|
||||
git reset --hard > /dev/null
|
||||
Reference in New Issue
Block a user