build(ci): sync with repo before git commit
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 18 Sep 2023 12:49:54 +0000 (14:49 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 18 Sep 2023 12:49:54 +0000 (14:49 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
.github/workflows/external-benchmark.yml
.github/workflows/generate-documentation.yml

index d6f8dd8a3f14575c25ce4ff50ed152cff02a4869..1ef9cec56fdc853094c0bef628fb4dd9be71ed9a 100644 (file)
@@ -38,6 +38,8 @@ jobs:
         run: |
           git config --local user.name "${{ env.COMMIT_AUTHOR }}"
           git config --local user.email "${{ env.COMMIT_EMAIL }}"
+          git pull
+          git add BENCH-100000.md BENCH-100000.json
           git commit -a -m "${{ env.COMMIT_MESSAGE }}"
       - name: Push changes
         if: github.ref == 'refs/heads/${{ github.event.repository.default_branch }}'
index f3d4ae4e428b116ce26bbb184f1263ed3b41eb59..0555ad8b779ebf04391c8779a55d80080922fb77 100644 (file)
@@ -36,6 +36,7 @@ jobs:
         run: |
           git config --local user.name "${{ env.COMMIT_AUTHOR }}"
           git config --local user.email "${{ env.COMMIT_EMAIL }}"
+          git pull
           git add ./docs
           git commit -a -m "${{ env.COMMIT_MESSAGE }}"