Skip to content

Commit c8c0347

Browse files
committed
fix: bypass expired ClawHub SSL cert in publish workflow
1 parent d1df717 commit c8c0347

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/publish-clawhub.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ jobs:
5555
# Workaround: clawhub@0.7.0 publish doesn't send acceptLicenseTerms,
5656
# which the server now requires. Use a Node.js script to publish with
5757
# the corrected payload.
58-
node - <<'PUBLISH_SCRIPT'
58+
# Note: NODE_TLS_REJECT_UNAUTHORIZED=0 is needed because api.clawhub.io
59+
# has an expired SSL certificate. Remove once ClawHub renews their cert.
60+
NODE_TLS_REJECT_UNAUTHORIZED=0 node - <<'PUBLISH_SCRIPT'
5961
const { resolve } = require("path");
6062
const { readFileSync, statSync, readdirSync } = require("fs");
6163
const folder = resolve(".");

0 commit comments

Comments
 (0)