Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
alifnaufalyasin committed Oct 20, 2023
1 parent fddb9f3 commit bff85b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: run python script to convert csv to json
run: |
python ./scripts/script.py
cp ./dataMember.json ./data/dataMember.json
cp ./scripts/dataMember.json ./data/dataMember.json
- name: Build 🔧
run: |
Expand Down
4 changes: 2 additions & 2 deletions scripts/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ def csv_to_json(csv_file, json_file):

if __name__ == "__main__":
# Replace 'input.csv' with the path of your CSV file
csv_file_path = 'dataMember.csv'
csv_file_path = './scripts/dataMember.csv'

# Replace 'output.json' with the desired path for the JSON output file
json_file_path = 'dataMember.json'
json_file_path = './scripts/dataMember.json'

csv_to_json(csv_file_path, json_file_path)

0 comments on commit bff85b6

Please sign in to comment.