From c54ac2e71c634d09ba756680b47410d21b8fa745 Mon Sep 17 00:00:00 2001 From: Maxime Jublou Date: Mon, 7 Aug 2023 15:18:04 +0200 Subject: [PATCH] ci: Update how the generateReadme handles push --- .github/workflows/generate_readme.yaml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/generate_readme.yaml b/.github/workflows/generate_readme.yaml index 0046a9ccb9..e4f900b560 100644 --- a/.github/workflows/generate_readme.yaml +++ b/.github/workflows/generate_readme.yaml @@ -31,6 +31,13 @@ jobs: ALGOLIA_APP_ID: '${{ secrets.ALGOLIA_APP_ID }}' ALGOLIA_API_KEY: '${{ secrets.ALGOLIA_API_KEY }}' - run: "jupyter nbconvert --clear-output --inplace .github/push_templates_to_algolia.ipynb" - - uses: EndBug/add-and-commit@v7.2.1 - with: - message: 'generateReadme: Refresh' + # - uses: EndBug/add-and-commit@v7.2.1 + # with: + # message: 'generateReadme: Refresh' + - name: Commit and push + run: | + git config --local user.email "action@github.com" + git config --local user.name "GitHub Action" + git pull --no-edit + git commit -m 'generateReadme: Refresh' -a + git push \ No newline at end of file