Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
alifnaufalyasin committed Jul 31, 2023
1 parent 41b5374 commit caf2f83
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/generate-data-member.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ jobs:
run: |
cd ./scripts
python script.py
cp ./dataMember.json ~/data/dataMember.json
git checkout -b production
git fetch
cp ./dataMember.json ../data/dataMember.json
git add ../data/dataMember.json
cd ..
cp ~/data/dataMember.json ./data/dataMember.json
git add ./data/dataMember.json
# Commit the changes
- name: Commit changes
Expand Down

0 comments on commit caf2f83

Please sign in to comment.