Skip to content

Instantly share code, notes, and snippets.

@auniverseaway
Created November 17, 2021 18:29
Show Gist options
  • Save auniverseaway/b7d6675ea6cc66af8925accb425f8a3e to your computer and use it in GitHub Desktop.
Save auniverseaway/b7d6675ea6cc66af8925accb425f8a3e to your computer and use it in GitHub Desktop.
Helix developer cache clearing cheat sheet
## Re-sync all github code to Helix Code Bus
curl -X POST "https://admin.hlx3.page/code/{{github-user}}/{{repo}}/{{branch}}/*"
## Re-sync github file to Helix Code Bus
curl -X POST "https://admin.hlx3.page/code/{{github-user}}/{{repo}}/{{branch}}/scripts.js"
## "Preview" a page
curl -X POST "https://admin.hlx3.page/preview/{{github-user}}/{{repo}}/{{branch}}/path/to/page"
## "Publish" a page
curl -X POST "https://admin.hlx3.page/live/{{github-user}}/{{repo}}/{{branch}}/path/to/page"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment