Use pages deploy instead of the deprecated pages publish command to deploy the docs website (#7277)

See https://github.com/cloudflare/workers-sdk/issues/3067

Related #7276
This commit is contained in:
Zanie Blue 2023-09-11 13:23:47 -05:00 committed by GitHub
parent 6566d00295
commit ff0feb191c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,4 +44,4 @@ jobs:
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
accountId: ${{ secrets.CF_ACCOUNT_ID }}
command: pages publish site --project-name=ruff-docs --branch ${GITHUB_HEAD_REF} --commit-hash ${GITHUB_SHA}
command: pages deploy site --project-name=ruff-docs --branch ${GITHUB_HEAD_REF} --commit-hash ${GITHUB_SHA}