gravity/deploy
2026-01-05 01:30:32 -06:00

19 lines
342 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://gravity.laddhoffman.com"