From 2c9b3a3224ac3f91053ab6de1822399f0cd018c7 Mon Sep 17 00:00:00 2001 From: truonthu Date: Fri, 15 Nov 2024 15:32:03 +0100 Subject: [PATCH] changed minor things for committing changes in gh-pages branch --- .github/workflows/quarto-deploy.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/quarto-deploy.yml b/.github/workflows/quarto-deploy.yml index 87077a0..0947e2f 100644 --- a/.github/workflows/quarto-deploy.yml +++ b/.github/workflows/quarto-deploy.yml @@ -49,6 +49,15 @@ jobs: cd docs conda run -n blogqa make html + # Commit changes to gh-pages branch + - name: Commit changes + run: | + git config --global user.email "github-actions[bot]@users.noreply.github.com" + git config --global user.name "GitHub Actions" + git add . + git commit -m "Committing generated build files" + git push origin main # Or push to a different branch if needed + # Commit changes to gh-pages branch - name: Switch to gh-pages branch run: |