2020-05-05 20:10:16 -06:00
|
|
|
#! /bin/sh
|
|
|
|
|
2022-04-19 22:41:09 -06:00
|
|
|
cd $(dirname $0)
|
|
|
|
|
2022-03-31 12:40:45 -06:00
|
|
|
case "$1" in
|
|
|
|
-prod|--prod)
|
|
|
|
echo "Push to main branch, then update stack."
|
2022-04-19 22:41:09 -06:00
|
|
|
docker -H ssh://melville.woozle.org service update --image ghcr.io/nealey/vail:main melville_vail
|
2022-03-31 12:40:45 -06:00
|
|
|
;;
|
|
|
|
"")
|
2023-01-17 12:25:20 -07:00
|
|
|
rsync --delete -va static/ melville.woozle.org:/srv/vail/testing/
|
2022-03-31 12:40:45 -06:00
|
|
|
;;
|
|
|
|
esac
|