From 511fa91193b6e2fa61a4829d399f2368d92bafd9 Mon Sep 17 00:00:00 2001 From: Hugo Bernier Date: Sun, 24 Mar 2024 15:42:41 -0400 Subject: [PATCH] Added commit --- .github/workflows/merge-json.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/merge-json.yml b/.github/workflows/merge-json.yml index 4e94b256b..4ebe7d496 100644 --- a/.github/workflows/merge-json.yml +++ b/.github/workflows/merge-json.yml @@ -32,12 +32,14 @@ jobs: - name: Merge JSON files run: node .github/workflows/merge.js + - name: Commit files + run: | + git config --local user.email ${{ secrets.USER_EMAIL }} + git config --local user.name "${{ secrets.USER_NAME }} + git commit -a -m "Add samples.json" - name: Commit to gh-pages branch uses: ad-m/github-push-action@master with: github_token: ${{ secrets.GITHUB_TOKEN }} branch: 'gh-pages' - commit_message: 'Update samples.json' - commit_user_name: ${{ secrets.USER_NAME }} - commit_user_email: ${{ secrets.USER_EMAIL }} force: true \ No newline at end of file