Make sync-kosmos.sh complete
This commit is contained in:
1 file changed
+6
-1
@@ -1,6 +1,7 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Sync the `kosmos` deployment branch from `master` and rebuild its release.
|
||||
# Sync the `kosmos` deployment branch from `master`, rebuild its release, push
|
||||
# it to both Gitea and 5apps, and return to `master`.
|
||||
#
|
||||
# Marco is deployed to two domains from two branches, both serving the committed
|
||||
# `release/` directory via 5apps Deploy:
|
||||
@@ -49,3 +50,7 @@ elif ! git diff --cached --quiet; then
|
||||
else
|
||||
echo "Already up to date."
|
||||
fi
|
||||
|
||||
git push origin kosmos
|
||||
git push 5apps-old kosmos:master
|
||||
git checkout master
|
||||
Reference in new issue
Block a user