commit e2c3951870db1bcfeb3fdab28a11682aa88c5b81
parent bc2465b8483f7e36d28a8371590a9eb51ae57b9f
Author: Amit Dutta <mail@amit.is-a.dev>
Date: Tue, 2 Jun 2026 14:45:57 +0530
Fix whitespace in GitHub Actions workflow
Diffstat:
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
@@ -46,13 +46,16 @@ jobs:
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
-
- git add docs/
+ git add docs/
+
if ! git diff-index --quiet HEAD; then
git commit -m "chore: auto-generate GitHub Pages docs"
+
+ git pull --rebase origin main
+
git push
echo "Successfully built and pushed new docs folder."
else
echo "No changes to docs detected, skipping commit."
- fi-
\ No newline at end of file
+ fi