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: |