fix: stage.sh
tweak order of things
This commit is contained in:
parent
227df50f31
commit
edd17ce8b4
1 changed files with 5 additions and 4 deletions
9
stage.sh
9
stage.sh
|
|
@ -10,8 +10,9 @@ SOURCE_DIR=$1
|
||||||
|
|
||||||
|
|
||||||
source ~/.bashrc # make sure NPM commands etc are available
|
source ~/.bashrc # make sure NPM commands etc are available
|
||||||
npm i -g pnpm && pnpm setup && pnpm i -g turbo
|
|
||||||
cd "$SOURCE_DIR"
|
cd "$SOURCE_DIR"
|
||||||
git fetch --all && git branch "backup-$(date +'%s')" \
|
git fetch --all && git branch "backup-$(date +'%s')"
|
||||||
&& git checkout -f origin/main \
|
|
||||||
&& pnpm i && npx turbo build
|
npm i -g pnpm && pnpm setup && pnpm i -g turbo \
|
||||||
|
&& git checkout -f origin/main \
|
||||||
|
&& pnpm i && npx turbo build
|
||||||
Loading…
Add table
Add a link
Reference in a new issue