Skip to content

Commit

Permalink
[meta] Attempt to silence Cloudflare warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mnvr committed May 10, 2024
1 parent db86bec commit 7238a34
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/docs-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7238a34

Please sign in to comment.