diff --git a/.github/workflows/generate-data-member.yml b/.github/workflows/generate-data-member.yml index 304697bf..1e75c3ce 100644 --- a/.github/workflows/generate-data-member.yml +++ b/.github/workflows/generate-data-member.yml @@ -24,10 +24,16 @@ jobs: cd .. cp /tmp/data/dataMember.json ./data/dataMember.json mkdir -p ./data + + - name: Commit changes + run: | git config --global user.email "actions@example.com" git config --global user.name "GitHub Actions" - git add ./data/dataMember.json - git commit -m "Commit changes from GitHub Actions" || true + git add . + git commit -m "Commit changes from GitHub Actions" + + - name: Push changes + run: | git push origin production