ci: refresh release dispatch and publish updated docs source (#667)
* docs: refresh docs and add tunnel usage guide Add a new tunnels page with verified, up-to-date CLI examples Remove deprecated `--daemon` usage and clarify QR/password behavior Add docs validation tooling and docs-source workflow for packaging and sync * ci: update release workflow behavior
This commit is contained in:
committed by
GitHub
parent
75c90d955c
commit
d81b34575a
@@ -563,3 +563,28 @@ jobs:
|
|||||||
process.exit(1);
|
process.exit(1);
|
||||||
});
|
});
|
||||||
NODE
|
NODE
|
||||||
|
|
||||||
|
- name: Trigger openchamber-website site refresh (optional)
|
||||||
|
env:
|
||||||
|
WEBSITE_REPO: openchamber/openchamber-website
|
||||||
|
WEBSITE_TOKEN: ${{ secrets.OPENCHAMBER_WEBSITE_REPO_TOKEN }}
|
||||||
|
VERSION: ${{ needs.create-release.outputs.version }}
|
||||||
|
run: |
|
||||||
|
if [ -z "$WEBSITE_TOKEN" ]; then
|
||||||
|
echo "OPENCHAMBER_WEBSITE_REPO_TOKEN not set; skip site refresh dispatch."
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
curl --fail-with-body -sS -X POST \
|
||||||
|
-H "Authorization: Bearer $WEBSITE_TOKEN" \
|
||||||
|
-H "Accept: application/vnd.github+json" \
|
||||||
|
https://api.github.com/repos/$WEBSITE_REPO/dispatches \
|
||||||
|
-d @- <<JSON
|
||||||
|
{
|
||||||
|
"event_type": "site_refresh_requested",
|
||||||
|
"client_payload": {
|
||||||
|
"source_repo": "${{ github.repository }}",
|
||||||
|
"release_tag": "v$VERSION"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
JSON
|
||||||
|
|||||||
Reference in New Issue
Block a user