Skip to content

Commit

Permalink
modify CI deploy to add download member data
Browse files Browse the repository at this point in the history
  • Loading branch information
alifnaufalyasin committed Oct 20, 2023
1 parent f6b8f3b commit 46f23ea
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,17 @@ jobs:

- name: Install 🔧
run: yarn install

- uses: actions/checkout@v3
- 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
run: |
cd ./scripts
python script.py
mkdir -p /tmp/data
cp ./dataMember.json ./data/dataMember.json
- name: Build 🔧
run: |
Expand Down

0 comments on commit 46f23ea

Please sign in to comment.