Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[meta] Attempt to silence Cloudflare warning

Manav Rathi7238a34e4c3f
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