File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -9,4 +9,4 @@ pem=AppContainers.pem
9
9
branch=$( git symbolic-ref --short HEAD)
10
10
git=' ~/bin/git-parse-dashboard'
11
11
12
- ssh -t -i $b4a_certs_path /$pem $user @$host " sudo su back4app -c '. ~/.nvm/nvm.sh && nvm use 10 && cd ~/scm/parse-dashboard && rm -rf node_modules && $git reset --hard && $git remote update && $git checkout $branch && $git merge origin/$branch && npm install && sed -i \" s/http:\/\/localhost:4000\/parseapi/https:\/\/dashboard-homolog.back4app.com\/parseapi/\" node_modules/parse/lib/browser/settings.js && npm run build-homolog'"
12
+ ssh -t -i $b4a_certs_path /$pem $user @$host " sudo su back4app -c '. ~/.nvm/nvm.sh && nvm use 12 && cd ~/scm/parse-dashboard && rm -rf node_modules && $git reset --hard && $git remote update && $git checkout $branch && $git merge origin/$branch && npm install && sed -i \" s/http:\/\/localhost:4000\/parseapi/https:\/\/dashboard-homolog.back4app.com\/parseapi/\" node_modules/parse/lib/browser/settings.js && npm run build-homolog'"
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ now=`date '+%Y%m%d%H%M%S'`
10
10
branch=master
11
11
git=' ~/bin/git-parse-dashboard'
12
12
13
- ssh -t -o IdentitiesOnly=yes -i $b4a_certs_path /$pem $user @$host " sudo su back4app -c 'cp -r ~/scm/parse-dashboard ~/scm/parse-dashboard-$now && . ~/.nvm/nvm.sh && nvm use 10 && cd ~/scm/parse-dashboard && rm -rf node_modules && $git reset --hard && $git remote update && $git checkout $branch && $git merge origin/$branch && npm install --production=false && sed -i \" s/http:\/\/localhost:4000\/parseapi/https:\/\/dashboard.back4app.com\/parseapi/\" node_modules/parse/lib/browser/settings.js && npm run build'"
13
+ ssh -t -o IdentitiesOnly=yes -i $b4a_certs_path /$pem $user @$host " sudo su back4app -c 'cp -r ~/scm/parse-dashboard ~/scm/parse-dashboard-$now && . ~/.nvm/nvm.sh && nvm use 12 && cd ~/scm/parse-dashboard && rm -rf node_modules && $git reset --hard && $git remote update && $git checkout $branch && $git merge origin/$branch && npm install --production=false && sed -i \" s/http:\/\/localhost:4000\/parseapi/https:\/\/dashboard.back4app.com\/parseapi/\" node_modules/parse/lib/browser/settings.js && npm run build'"
14
14
15
15
# curl -X DELETE "https://api.cloudflare.com/client/v4/zones/69ace06909c83213745231d2c6d0fd27/purge_cache" -H "X-Auth-Email: $CF_EMAIL" -H "X-Auth-Key: $CF_KEY" -H "Content-Type: application/json" --data '{"files":[
16
16
# "https://parse-dashboard.back4app.com/bundles/dashboard.bundle.js",
You can’t perform that action at this time.
0 commit comments