From caf2f836742b63de0fcee73312816c98f0892b6a Mon Sep 17 00:00:00 2001 From: alifnaufalyasin Date: Mon, 31 Jul 2023 22:51:09 +0700 Subject: [PATCH] update workflow --- .github/workflows/generate-data-member.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/generate-data-member.yml b/.github/workflows/generate-data-member.yml index 4543b98b..989ac7f9 100644 --- a/.github/workflows/generate-data-member.yml +++ b/.github/workflows/generate-data-member.yml @@ -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