[meta] Attempt to silence Cloudflare warning (#1678)

This commit is contained in:
Manav Rathi 2024-05-10 20:57:40 +05:30 committed by GitHub
commit aedb65594f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -41,4 +41,15 @@ jobs:
with:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
command: pages deploy --project-name=ente --branch=help docs/docs/.vitepress/dist
# [Note: Wrangler commit-dirty]
#
# Without the --commit-dirty flag, running the wrangler-action
# always prints a warning when used:
#
# Warning: Your working directory is a git repo and has uncommitted changes
# To silence this warning, pass in --commit-dirty=true
#
# There is no clear documentation of if passing this is
# harmless, but all indications and in-practice tests seem to
# indicate so.
command: pages deploy --project-name=ente --branch=help --commit-dirty=true docs/docs/.vitepress/dist