From 7238a34e4c3f3cb634dafeac353d8920b7f5d74f Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Fri, 10 May 2024 20:57:03 +0530 Subject: [PATCH] [meta] Attempt to silence Cloudflare warning --- .github/workflows/docs-deploy.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docs-deploy.yml b/.github/workflows/docs-deploy.yml index df898727d2..3e25248edb 100644 --- a/.github/workflows/docs-deploy.yml +++ b/.github/workflows/docs-deploy.yml @@ -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