tweak: deployment script
This commit is contained in:
parent
e950e7ea8e
commit
9a82885483
1 changed files with 2 additions and 2 deletions
4
stage.sh
4
stage.sh
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue