Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Soundcloud
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoStreaming
Plugins
Soundcloud
Commits
a76631fb
Commit
a76631fb
authored
1 year ago
by
Koen
Browse files
Options
Downloads
Patches
Plain Diff
Update deploy.sh
parent
1a7b49f5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
deploy.sh
+2
-2
2 additions, 2 deletions
deploy.sh
with
2 additions
and
2 deletions
deploy.sh
+
2
−
2
View file @
a76631fb
...
...
@@ -13,11 +13,11 @@ cp SoundcloudConfig.json $DOCUMENT_ROOT/Soundcloud
cp
SoundcloudScript.js
$DOCUMENT_ROOT
/Soundcloud
# Notify Cloudflare to wipe the CDN cache
echo
"Purging Cloudflare cache..."
echo
"Purging Cloudflare cache
for zone
$CLOUDFLARE_ZONE_ID
..."
curl
-X
POST
"https://api.cloudflare.com/client/v4/zones/
$CLOUDFLARE_ZONE_ID
/purge_cache"
\
-H
"Authorization: Bearer
$CLOUDFLARE_API_TOKEN
"
\
-H
"Content-Type: application/json"
\
--data
'{"
purge_everything":true
}'
--data
'{"
files":["https://plugins.grayjay.app/Soundcloud/soundcloud.png", "https://plugins.grayjay.app/Soundcloud/SoundcloudConfig.json", "https://plugins.grayjay.app/Soundcloud/SoundcloudScript.js"]
}'
# Take site back online
echo
"Bringing site back online..."
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment