Skip to content

Commit

Permalink
update action generate Data Member
Browse files Browse the repository at this point in the history
  • Loading branch information
alifnaufalyasin committed Jan 26, 2024
1 parent 754ddd5 commit 5afa8f3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/generate-data-member.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 5afa8f3

Please sign in to comment.