From 46f23eaf6fbf13a5f0c757c630f74e9cba557a61 Mon Sep 17 00:00:00 2001 From: alifnaufalyasin Date: Fri, 20 Oct 2023 22:06:39 +0700 Subject: [PATCH] modify CI deploy to add download member data --- .github/workflows/deploy.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 1f1b09fa..60f26952 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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: |