@rpcbase/cli 0.85.0 → 0.87.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/cmd-deploy.js +5 -0
package/package.json
CHANGED
package/src/cmd-deploy.js
CHANGED
|
@@ -140,6 +140,11 @@ export const deploy = async (argv) => {
|
|
|
140
140
|
// Purge Cloudflare Cache if CLOUDFLARE_ZONE and CLOUDFLARE_TOKEN are set
|
|
141
141
|
const { CLOUDFLARE_ZONE, CLOUDFLARE_TOKEN } = process.env;
|
|
142
142
|
|
|
143
|
+
console.log("Cloudflare env", {
|
|
144
|
+
CLOUDFLARE_ZONE: JSON.stringify(CLOUDFLARE_ZONE),
|
|
145
|
+
CLOUDFLARE_TOKEN: JSON.stringify(CLOUDFLARE_TOKEN),
|
|
146
|
+
})
|
|
147
|
+
|
|
143
148
|
if (!CLOUDFLARE_ZONE || !CLOUDFLARE_TOKEN) {
|
|
144
149
|
console.warn("Cloudflare cache purge will not run: missing CLOUDFLARE_ZONE or CLOUDFLARE_TOKEN environment variables");
|
|
145
150
|
} else {
|