diff --git a/.github/workflows/render-site.yml b/.github/workflows/render-site.yml index ddb3fc6..023582b 100644 --- a/.github/workflows/render-site.yml +++ b/.github/workflows/render-site.yml @@ -90,5 +90,6 @@ jobs: git config --global user.email 'github-actions[bot]@users.noreply.github.com' git add --force docs/* git commit -m 'Render site' || echo "No changes to commit" + git reset --hard HEAD git pull --rebase --allow-unrelated-histories --strategy-option=ours git push origin main || echo "No changes to push"