From 0a90fda8cc56647c709036824bd0a19ed141e8ab Mon Sep 17 00:00:00 2001 From: alifnaufalyasin Date: Mon, 31 Jul 2023 22:38:12 +0700 Subject: [PATCH] update workflow --- .github/workflows/generate-data-member.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/generate-data-member.yml b/.github/workflows/generate-data-member.yml index 950687fa..ca857798 100644 --- a/.github/workflows/generate-data-member.yml +++ b/.github/workflows/generate-data-member.yml @@ -21,18 +21,13 @@ jobs: cd .. rm -rf ./scripts git add ./data/dataMember.json - + # Commit the changes - name: Commit changes run: | git config --local user.email "action@github.com" git config --local user.name "GitHub Action" git commit -m "Update data member from GitHub Action" || true - - # Push the changes back to the repository - - name: Push changes - uses: ad-m/github-push-action@master - with: - github_token: ${{ secrets.TOKEN_SECRET }} + git push origin production