Skip to content

Commit 0461d23

Browse files
committed
Fix cached urls
1 parent ab42f96 commit 0461d23

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

deploy-prod.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ branch=master
1010
git='~/bin/git-parse-dashboard'
1111
ssh -t -i $b4a_certs_path/$pem $user@$host "sudo su back4app -c '. ~/.nvm/nvm.sh && nvm use 9 && cd ~/scm/parse-dashboard && $git reset --hard && $git remote update && $git checkout $branch && $git merge origin/$branch && yarn install --production=false && npm run prepublish && npm run build'"
1212
curl -X DELETE "https://api.cloudflare.com/client/v4/zones/69ace06909c83213745231d2c6d0fd27/purge_cache" -H "X-Auth-Email: [email protected]" -H "X-Auth-Key: aa41038d78651ae07e2f49507fee32eac1e4c" -H "Content-Type: application/json" --data '{"files":[
13-
"https://parse-dashboard.back4app.com/dashboard.bundle.js",
14-
"https://parse-dashboard.back4app.com/PIG.bundle.js",
15-
"https://parse-dashboard.back4app.com/login.bundle.js",
16-
"https://parse-dashboard.back4app.com/quickstart.bundle.js",
17-
"https://parse-dashboard.back4app.com/sprites.svg"
13+
"https://parse-dashboard.back4app.com/bundles/dashboard.bundle.js",
14+
"https://parse-dashboard.back4app.com/bundles/PIG.bundle.js",
15+
"https://parse-dashboard.back4app.com/bundles/login.bundle.js",
16+
"https://parse-dashboard.back4app.com/bundles/quickstart.bundle.js",
17+
"https://parse-dashboard.back4app.com/bundles/sprites.svg"
1818
]}'
1919
#ssh -t aws_B4ANFS_Homolog "sudo su back4app -c '. ~/.nvm/nvm.sh && nvm use 9 && cd ~/scm/back4app-site && yarn install && npm run build && pm2 reload site'"

0 commit comments

Comments
 (0)