Skip to content

Commit

Permalink
Give up on --call
Browse files Browse the repository at this point in the history
  • Loading branch information
covracer committed Nov 3, 2022
1 parent 1a1b0a3 commit 9f513b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16124,7 +16124,7 @@ try {
$ export CLOUDFLARE_ACCOUNT_ID="${accountId}"
}

$$ npx -c 'wrangler@2 pages publish "${directory}" --project-name="${projectName}" --branch="${branch}"'
$$ npx wrangler@2 pages publish "${directory}" --project-name="${projectName}" --branch="${branch}"
`;
const response = await (0, import_undici.fetch)(`https://api.cloudflare.com/client/v4/accounts/${accountId}/pages/projects/${projectName}/deployments`, { headers: { Authorization: `Bearer ${apiToken}` } });
const {
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ try {
$ export CLOUDFLARE_ACCOUNT_ID="${accountId}"
}
$$ npx -c 'wrangler@2 pages publish "${directory}" --project-name="${projectName}" --branch="${branch}"'
$$ npx wrangler@2 pages publish "${directory}" --project-name="${projectName}" --branch="${branch}"
`;

const response = await fetch(
Expand Down

0 comments on commit 9f513b2

Please sign in to comment.