From 282c1604d89678955ac0b2367d624d1e577418e8 Mon Sep 17 00:00:00 2001 From: alifnaufalyasin Date: Tue, 1 Aug 2023 00:00:29 +0700 Subject: [PATCH] update workflow --- .github/workflows/generate-data-member.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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