commit 5d12adb0795fc766521b62d28de79545ea86b676
parent c2a1e287880763f3a8c9e3ba229554be608fead6
Author: Amit Dutta <mail@amit.is-a.dev>
Date: Tue, 2 Jun 2026 14:49:52 +0530
Add 'docs-new/' to GitHub Actions commit step
Updated the GitHub Actions workflow to include 'docs-new/' in the commit process for auto-generated documentation.
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
@@ -46,12 +46,12 @@ jobs:
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
-
- git add docs/
- if ! git diff-index --quiet HEAD; then
+ git add docs/ docs-new/
+
+ if ! git diff --cached --quiet; then
git commit -m "chore: auto-generate GitHub Pages docs"
-
+
git pull --rebase origin main
git push