implement suggestion

Co-authored-by: Simon Manning <367343+QuaqSim@users.noreply.github.com>
pull/101/head
CyberFlame 2 years ago committed by GitHub
parent c256878ea2
commit 2170f9eebd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -46,7 +46,11 @@ try {
$ export CLOUDFLARE_ACCOUNT_ID="${accountId}"
}
if (wranglerVersion < 3) {
$$ npx wrangler@${wranglerVersion} pages publish "${directory}" --project-name="${projectName}" --branch="${branch}"
} else {
$$ npx wrangler@${wranglerVersion} pages deploy "${directory}" --project-name="${projectName}" --branch="${branch}"
}
`;
const response = await fetch(

Loading…
Cancel
Save