Created
November 17, 2021 18:29
-
-
Save auniverseaway/b7d6675ea6cc66af8925accb425f8a3e to your computer and use it in GitHub Desktop.
Helix developer cache clearing cheat sheet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 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