tweak: deployment script

This commit is contained in:
nikomiko 2026-02-05 13:52:25 -05:00 committed by Sheldon Cooper
parent e950e7ea8e
commit 9a82885483

View file

@ -8,5 +8,5 @@
SOURCE_DIR=$1
cd "$1"|| { echo "Can't cd 😓"; exit; }
git fetch --all && git branch "backup-$(date +'%s')" && git reset --hard origin/main && npx turbo build
cd "$1" || { echo "Can't cd 😓 - code $?"; exit; }
git fetch --all && git branch "backup-$(date +'%s')" && git checkout -f origin/main && npx turbo build