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 36fb84a commit b6e4aff
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,26 @@ jobs:

- name: Install 🔧
run: yarn install

- name: Build 🔧
run: |
yarn build:production
touch out/.nojekyll
env:
GITHUB_TOKEN: ${{ secrets.TOKEN_SECRET }}

- 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
cp ./dataMember.json ../data/dataMember.json
cd ..
- name: Build 🔧
run: |
yarn build:production
touch out/.nojekyll
env:
GITHUB_TOKEN: ${{ secrets.TOKEN_SECRET }}
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
Expand Down

0 comments on commit b6e4aff

Please sign in to comment.