gravity/deploy
2025-12-29 11:42:43 -06:00

19 lines
343 B
Bash
Executable File

#!/bin/env bash
set -eo pipefail
git checkout main
git pull
git merge dev
git push
git checkout dev
if [[ $(hostname) == "ladd76" ]]; then
ssh lentilz 'cd ~/code/gravity-live && git pull'
elif [[ $(hostname) == "lentilz" ]]; then
pushd ~/code/gravity-live
git pull
fi
echo >&2
echo >&2 "Deployed to https://laddhoffman.com/gravity/"