fix: scripts
try 2 make them work on the server
This commit is contained in:
parent
22a66bd92a
commit
7f891fd3da
2 changed files with 3 additions and 3 deletions
4
stage.sh
4
stage.sh
|
|
@ -8,8 +8,8 @@
|
|||
|
||||
SOURCE_DIR=$1
|
||||
|
||||
npm i -g pnpm && pnpm setup || { echo "Can't npm 😓 - code $?"; exit; }
|
||||
npm i -g pnpm && pnpm setup && pnpm i -g turbo || { echo "Can't install node dependencies 😓 - code $?"; exit; }
|
||||
cd "$SOURCE_DIR" || { echo "Can't cd 😓 - code $?"; exit; }
|
||||
git fetch --all && git branch "backup-$(date +'%s')" \
|
||||
&& git checkout -f origin/main \
|
||||
&& pnpm i && turbo build
|
||||
&& pnpm i && npx turbo build
|
||||
Loading…
Add table
Add a link
Reference in a new issue