From 5afa8f3913ef602e4f6f636c7e4318d46b3fec1d Mon Sep 17 00:00:00 2001 From: alifnaufalyasin Date: Fri, 26 Jan 2024 08:37:20 +0700 Subject: [PATCH] update action generate Data Member --- .github/workflows/generate-data-member.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/generate-data-member.yml b/.github/workflows/generate-data-member.yml index f9f847a5..a98e9ff8 100644 --- a/.github/workflows/generate-data-member.yml +++ b/.github/workflows/generate-data-member.yml @@ -8,7 +8,7 @@ jobs: - name: Download csv file of member form in gsheet run: | curl -L -o ./scripts/dataMember.csv https://docs.google.com/spreadsheets/d/1SaXnuRt-1KXyDGS18KqU7cus4_IWNxpGhiVy0J1vz-U/export?format=csv - - name: run python script to convert csv to json and commit it + - name: run python script to convert csv to json, commit it and push to branch production run: | python ./scripts/script.py mkdir -p /tmp/data @@ -21,9 +21,6 @@ jobs: cp /tmp/data/dataMember.json ./data/dataMember.json` git add . git commit -m "Commit changes from GitHub Actions" - - - name: Push changes - run: | git push origin production