From 63e89ca442ad325b74900ab3d6c2d2701723ea98 Mon Sep 17 00:00:00 2001 From: alifnaufalyasin Date: Mon, 31 Jul 2023 22:18:30 +0700 Subject: [PATCH 01/28] add script --- .github/workflows/generate-data-member.yml | 24 ++++++++++++++++++++++ scripts/script.py | 21 +++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 .github/workflows/generate-data-member.yml create mode 100644 scripts/script.py diff --git a/.github/workflows/generate-data-member.yml b/.github/workflows/generate-data-member.yml new file mode 100644 index 00000000..e9cfd733 --- /dev/null +++ b/.github/workflows/generate-data-member.yml @@ -0,0 +1,24 @@ +name: Generate Data Member in Json +on: + push: + branches: [master] + workflow_dispatch: + +jobs: + generate_data_member: + runs-on: ubuntu-latest + steps: + - 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 + git checkout -b production + cp ./dataMember.json ../data/dataMember.json + cd .. + rm ./scripts + + diff --git a/scripts/script.py b/scripts/script.py new file mode 100644 index 00000000..01f3e35f --- /dev/null +++ b/scripts/script.py @@ -0,0 +1,21 @@ +import csv +import json + +def csv_to_json(csv_file, json_file): + # Read CSV data and convert it to a list of dictionaries + with open(csv_file, 'r') as csvfile: + reader = csv.DictReader(csvfile) + data = [row for row in reader] + + # Write the data to a JSON file + with open(json_file, 'w') as jsonfile: + json.dump(data, jsonfile, indent=4) + +if __name__ == "__main__": + # Replace 'input.csv' with the path of your CSV file + csv_file_path = 'dataMember.csv' + + # Replace 'output.json' with the desired path for the JSON output file + json_file_path = 'dataMember.json' + + csv_to_json(csv_file_path, json_file_path) From 9cfb0da34815ed70af7399f8bf28ddc06c5adcea Mon Sep 17 00:00:00 2001 From: alifnaufalyasin Date: Mon, 31 Jul 2023 22:22:01 +0700 Subject: [PATCH 02/28] update workflow --- .github/workflows/generate-data-member.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/generate-data-member.yml b/.github/workflows/generate-data-member.yml index e9cfd733..56f5f137 100644 --- a/.github/workflows/generate-data-member.yml +++ b/.github/workflows/generate-data-member.yml @@ -19,6 +19,6 @@ jobs: git checkout -b production cp ./dataMember.json ../data/dataMember.json cd .. - rm ./scripts + rm -rf ./scripts From 12a7e6307f089d2029549a27359c685b628c2ef2 Mon Sep 17 00:00:00 2001 From: alifnaufalyasin Date: Mon, 31 Jul 2023 22:25:06 +0700 Subject: [PATCH 03/28] update workflow --- .github/workflows/generate-data-member.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/generate-data-member.yml b/.github/workflows/generate-data-member.yml index 56f5f137..e1bcc811 100644 --- a/.github/workflows/generate-data-member.yml +++ b/.github/workflows/generate-data-member.yml @@ -20,5 +20,19 @@ jobs: cp ./dataMember.json ../data/dataMember.json cd .. rm -rf ./scripts + git add ./data/dataMember.json + + # Commit the changes + - name: Commit changes + run: | + git config --local user.email "action@github.com" + git config --local user.name "GitHub Action" + git commit -m "Update data member from GitHub Action" || true + + # Push the changes back to the repository + - name: Push changes + uses: ad-m/github-push-action@master + with: + github_token: ${{ secrets.GITHUB_TOKEN }} From 1e138c2304206e2571280574b0adbac44897801b Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Mon, 31 Jul 2023 15:25:24 +0000 Subject: [PATCH 04/28] Update data member from GitHub Action --- data/dataMember.json | 722 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 722 insertions(+) create mode 100644 data/dataMember.json diff --git a/data/dataMember.json b/data/dataMember.json new file mode 100644 index 00000000..81545197 --- /dev/null +++ b/data/dataMember.json @@ -0,0 +1,722 @@ +[ + { + "timestamp": "4/1/2021 4:25:49", + "nama": "M Raehan Akbar", + "linkedin": "https://www.linkedin.com/in/muhammad-raehan-akbar-729129171/", + "instagram": "https://www.instagram.com/mraehanakbar", + "angkatan_telu": "2018", + "angkatan_ai": "2021", + "foto": "https://drive.google.com/open?id=1YV1_HctUmMczw5f-6stk-EwH2qq981IK", + "foto_id": "1YV1_HctUmMczw5f-6stk-EwH2qq981IK" + }, + { + "timestamp": "4/2/2021 13:51:05", + "nama": "Rendi Kustiawan", + "linkedin": "https://www.linkedin.com/in/rendi-kustiawan-1345b11a9/", + "instagram": "https://www.instagram.com/rendikstwn", + "angkatan_telu": "2018", + "angkatan_ai": "2021", + "foto": "https://drive.google.com/open?id=1x7gx8wJ3VjCxt-fs635ZqSSGkswZ9uKK", + "foto_id": "1x7gx8wJ3VjCxt-fs635ZqSSGkswZ9uKK" + }, + { + "timestamp": "4/21/2021 12:18:03", + "nama": "Ihsan Ahsanu Amala", + "linkedin": "https://www.linkedin.com/in/ihsanahsanuamala/", + "instagram": "https://www.instagram.com/ihsan_ahsanu", + "angkatan_telu": "2018", + "angkatan_ai": "2021", + "foto": "https://drive.google.com/open?id=13fjAk5DKCHBRawteOJ553AShw4CqVu-R", + "foto_id": "13fjAk5DKCHBRawteOJ553AShw4CqVu-R" + }, + { + "timestamp": "3/31/2021 19:16:55", + "nama": "Hanvito Michael Lee", + "linkedin": "https://www.linkedin.com/mwlite/in/hanvito-michael-lee-167466190", + "instagram": "https://www.instagram.com/www.instagram.com/vitomichaell", + "angkatan_telu": "2019", + "angkatan_ai": "2021", + "foto": "https://drive.google.com/open?id=11etGfp7WjWtjO8Zu0RI4xq66r4drI7iz", + "foto_id": "11etGfp7WjWtjO8Zu0RI4xq66r4drI7iz" + }, + { + "timestamp": "4/1/2021 17:28:10", + "nama": "Nia Madu Marliana", + "linkedin": "https://www.linkedin.com/in/nia-madu-85546320a/", + "instagram": "https://www.instagram.com/niamdmrl", + "angkatan_telu": "2019", + "angkatan_ai": "2021", + "foto": "https://drive.google.com/open?id=1jZNLIX2iIyRd_v3WMRPbpBmk2ws-QYC2", + "foto_id": "1jZNLIX2iIyRd_v3WMRPbpBmk2ws-QYC2" + }, + { + "timestamp": "4/1/2021 19:52:54", + "nama": "Azka Zainur Azifa", + "linkedin": "https://www.linkedin.com/in/azka-zainur-azifa-2672b71b8", + "instagram": "https://www.instagram.com/azifaazka", + "angkatan_telu": "2019", + "angkatan_ai": "2021", + "foto": "https://drive.google.com/open?id=1VlL86Kq6_5UtJTlXe5fHEl6MfPC3vvO0", + "foto_id": "1VlL86Kq6_5UtJTlXe5fHEl6MfPC3vvO0" + }, + { + "timestamp": "4/2/2021 12:17:50", + "nama": "Muhammad Rifqi Arrahim Natadikarta", + "linkedin": "https://www.linkedin.com/in/rifqi-arrahim-983935112", + "instagram": "https://www.instagram.com/rifqiarrahim", + "angkatan_telu": "2019", + "angkatan_ai": "2021", + "foto": "https://drive.google.com/open?id=11BE4DQvu4gtnMfgbTQSDgRiOnQOB_fvp", + "foto_id": "11BE4DQvu4gtnMfgbTQSDgRiOnQOB_fvp" + }, + { + "timestamp": "4/20/2021 21:10:23", + "nama": "Afrizal Syahruluddin Yusuf", + "linkedin": "https://www.linkedin.com/in/afrizalsy", + "instagram": "https://www.instagram.com/afrizallsy", + "angkatan_telu": "2019", + "angkatan_ai": "2021", + "foto": "https://drive.google.com/open?id=1osAIbh6LXTe3cpnHM9LcNe91rjYywpWC", + "foto_id": "1osAIbh6LXTe3cpnHM9LcNe91rjYywpWC" + }, + { + "timestamp": "4/20/2021 21:31:58", + "nama": "Mohamad Ivan Hegiansyah", + "linkedin": "https://www.linkedin.com/in/mohamad-ivan-hegiansyah/", + "instagram": "https://www.instagram.com/ivan_hegiansyah", + "angkatan_telu": "2019", + "angkatan_ai": "2021", + "foto": "https://drive.google.com/open?id=1Ugp-iL0Gt5-KO0t_aMYiiAFM92Ei2kDt", + "foto_id": "1Ugp-iL0Gt5-KO0t_aMYiiAFM92Ei2kDt" + }, + { + "timestamp": "4/21/2021 8:59:00", + "nama": "Alifia Shafira", + "linkedin": "https://www.linkedin.com/in/alifiashafira", + "instagram": "https://www.instagram.com/alifiashfr", + "angkatan_telu": "2019", + "angkatan_ai": "2021", + "foto": "https://drive.google.com/open?id=1s1mhRpE_B8XVr1XzK8ao7uWfvTBu-CZR", + "foto_id": "1s1mhRpE_B8XVr1XzK8ao7uWfvTBu-CZR" + }, + { + "timestamp": "4/21/2021 22:31:18", + "nama": "Imam Rafiif Arrazaan", + "linkedin": "https://www.linkedin.com/in/imam-rafiif-arrazaan-22aa951a0/", + "instagram": "https://www.instagram.com/imamra_", + "angkatan_telu": "2019", + "angkatan_ai": "2021", + "foto": "https://drive.google.com/open?id=1xFqazUS9t42DlSK1PilVhvW8mAkBpx4u", + "foto_id": "1xFqazUS9t42DlSK1PilVhvW8mAkBpx4u" + }, + { + "timestamp": "4/21/2021 22:36:43", + "nama": "Armadhani Hiro Juni Permana", + "linkedin": "https://www.linkedin.com/in/armadhanihiro", + "instagram": "https://www.instagram.com/armadhani_hiro/", + "angkatan_telu": "2019", + "angkatan_ai": "2021", + "foto": "https://drive.google.com/open?id=17Tv7Ld8WBqf6O49HEYynzK1RM4taO1wn", + "foto_id": "17Tv7Ld8WBqf6O49HEYynzK1RM4taO1wn" + }, + { + "timestamp": "3/31/2021 12:46:48", + "nama": "Zalfaa Putri Ayudhia", + "linkedin": "https://www.linkedin.com/in/zalfaa-putri-ayudhia-a7146320a/", + "instagram": "https://www.instagram.com/zalf.aa/", + "angkatan_telu": "2020", + "angkatan_ai": "2021", + "foto": "https://drive.google.com/open?id=1sfk4l05kqKZ9edA6P9E2ggby4XWna55d", + "foto_id": "1sfk4l05kqKZ9edA6P9E2ggby4XWna55d" + }, + { + "timestamp": "3/31/2021 19:36:40", + "nama": "Vania Amadea", + "linkedin": "https://www.linkedin.com/in/vania-amadea-9ba45b20a/", + "instagram": "https://www.instagram.com/vania_amadea/", + "angkatan_telu": "2020", + "angkatan_ai": "2021", + "foto": "https://drive.google.com/open?id=1ghcni1ozb_f4aSsPQCgT5wWmh8RV5ggr", + "foto_id": "1ghcni1ozb_f4aSsPQCgT5wWmh8RV5ggr" + }, + { + "timestamp": "4/1/2021 18:59:00", + "nama": "Muhammad Reza Adi Nugraha", + "linkedin": "https://www.linkedin.com/in/rezaadinugraha/", + "instagram": "https://www.instagram.com/mrezaadi", + "angkatan_telu": "2020", + "angkatan_ai": "2021", + "foto": "https://drive.google.com/open?id=130QXPSBPnRJCfOEX_V_66vKLfzci4ukd", + "foto_id": "130QXPSBPnRJCfOEX_V_66vKLfzci4ukd" + }, + { + "timestamp": "4/1/2021 19:09:20", + "nama": "Muhammad Irham Naufal Al Machdi", + "linkedin": "https://www.linkedin.com/in/irhamnaufal8", + "instagram": "https://www.instagram.com/irhamnaufal8", + "angkatan_telu": "2020", + "angkatan_ai": "2021", + "foto": "https://drive.google.com/open?id=1jBijG6hCl-B2bVhiNL6LRF7ZW7oQPCVb", + "foto_id": "1jBijG6hCl-B2bVhiNL6LRF7ZW7oQPCVb" + }, + { + "timestamp": "4/2/2021 6:43:24", + "nama": "Fadhly Al-farizi", + "linkedin": "https://www.linkedin.com/in/fadhly-alfarizi-88b38b116/", + "instagram": "https://www.instagram.com/fadhly1607", + "angkatan_telu": "2020", + "angkatan_ai": "2021", + "foto": "https://drive.google.com/open?id=1jM9oBWPIK4G8bfXXKPE_mn5ayd5ecOAh", + "foto_id": "1jM9oBWPIK4G8bfXXKPE_mn5ayd5ecOAh" + }, + { + "timestamp": "4/20/2021 21:04:27", + "nama": "Alifio Yudhistira Aji Salis", + "linkedin": "https://www.linkedin.com/in/alifio-yudhistira-aji-salis-0170721b9/", + "instagram": "https://www.instagram.com/xenosians/", + "angkatan_telu": "2020", + "angkatan_ai": "2021", + "foto": "https://drive.google.com/open?id=1hDfeDXmN94aIUl1PGXcvEqfFFII7yfav", + "foto_id": "1hDfeDXmN94aIUl1PGXcvEqfFFII7yfav" + }, + { + "timestamp": "3/31/2021 22:06:48", + "nama": "Rafif Fausta Kusuma Syam", + "linkedin": "https://www.linkedin.com/in/rafif-fausta-kusuma-syam-3106221a4", + "instagram": "https://www.instagram.com/rafiffks", + "angkatan_telu": "2019", + "angkatan_ai": "2021", + "foto": "https://drive.google.com/open?id=1O71PLZ9Qg99tjyEpmLXJicvCglUCMoId", + "foto_id": "1O71PLZ9Qg99tjyEpmLXJicvCglUCMoId" + }, + { + "timestamp": "4/10/2021 17:23:20", + "nama": "Shabrina Retno Ningsih", + "linkedin": "https://www.linkedin.com/in/shabrina-retno-ningsih-642457201/", + "instagram": "https://www.instagram.com/shabrinaaretno/", + "angkatan_telu": "2019", + "angkatan_ai": "2021", + "foto": "https://drive.google.com/open?id=1m1mpP2S60HPiKQtQNf1dz_TR7tpiF5i8", + "foto_id": "1m1mpP2S60HPiKQtQNf1dz_TR7tpiF5i8" + }, + { + "timestamp": "3/31/2021 12:26:52", + "nama": "Haydar Rizaldy Putera Prayudi", + "linkedin": "https://www.linkedin.com/in/haydar-rizaldy/", + "instagram": "https://www.instagram.com/haydar_rizaldy", + "angkatan_telu": "2019", + "angkatan_ai": "2020", + "foto": "https://drive.google.com/open?id=1YHw195tXFIHyMYY7lXCDO7hZm4nI20jJ", + "foto_id": "1YHw195tXFIHyMYY7lXCDO7hZm4nI20jJ" + }, + { + "timestamp": "3/31/2021 14:50:37", + "nama": "Nisa Maulia Azahra", + "linkedin": "https://www.linkedin.com/in/nisamaulia/", + "instagram": "https://www.instagram.com/nisa_maulia", + "angkatan_telu": "2019", + "angkatan_ai": "2020", + "foto": "https://drive.google.com/open?id=1ohhNQ04qHy7FjUOMZdM_GISGaqcwOhIl", + "foto_id": "1ohhNQ04qHy7FjUOMZdM_GISGaqcwOhIl" + }, + { + "timestamp": "3/31/2021 21:37:25", + "nama": "Miftah Shidqi Rabbani", + "linkedin": "https://www.linkedin.com/in/miftah-shidqi-rabbani-5b25a7118/", + "instagram": "https://www.instagram.com/miftahshidqirabbani", + "angkatan_telu": "2018", + "angkatan_ai": "2020", + "foto": "https://drive.google.com/open?id=16HQzqtFStjDKLi128E9TIDm8k9Kk-KKq", + "foto_id": "16HQzqtFStjDKLi128E9TIDm8k9Kk-KKq" + }, + { + "timestamp": "3/31/2021 15:09:13", + "nama": "Muhammad Aziz Pratama", + "linkedin": "https://www.linkedin.com/in/azizmap/", + "instagram": "https://www.instagram.com/azizmap", + "angkatan_telu": "2018", + "angkatan_ai": "2020", + "foto": "https://drive.google.com/open?id=1BCyMixdilNpVocZS8RQTPOQaaTyrL_af", + "foto_id": "1BCyMixdilNpVocZS8RQTPOQaaTyrL_af" + }, + { + "timestamp": "3/31/2021 13:06:49", + "nama": "Dimitri Irfan Dzidny", + "linkedin": "https://www.linkedin.com/in/dimitriirfan/", + "instagram": "https://www.instagram.com/dimitriirfann", + "angkatan_telu": "2018", + "angkatan_ai": "2019", + "foto": "https://drive.google.com/open?id=1jAG0E-Ebp2ct5ci8QP-Rl5SrF_wQDK3j", + "foto_id": "1jAG0E-Ebp2ct5ci8QP-Rl5SrF_wQDK3j" + }, + { + "timestamp": "3/31/2021 11:39:09", + "nama": "Rachmansyah Adhi Widhianto", + "linkedin": "https://www.linkedin.com/in/rchmnsyh", + "instagram": "https://www.instagram.com/rxchmnsyh", + "angkatan_telu": "2017", + "angkatan_ai": "2019", + "foto": "https://drive.google.com/open?id=1zAZDDQ0nJOxSDb3qBS3MZYUVbJXi2IZy", + "foto_id": "1zAZDDQ0nJOxSDb3qBS3MZYUVbJXi2IZy" + }, + { + "timestamp": "3/31/2021 12:28:55", + "nama": "Shindy Trimaria Laxmi", + "linkedin": "https://www.linkedin.com/in/shindytri", + "instagram": "https://www.instagram.com/shindytri_", + "angkatan_telu": "2017", + "angkatan_ai": "2019", + "foto": "https://drive.google.com/open?id=1t89k6ndt8pw3WHnccMNU2Ipz0Lw05D3U", + "foto_id": "1t89k6ndt8pw3WHnccMNU2Ipz0Lw05D3U" + }, + { + "timestamp": "3/31/2021 12:22:37", + "nama": "Muhammad Farrel", + "linkedin": "https://www.linkedin.com/in/muhammad-farrel-116649193/", + "instagram": "https://www.instagram.com/mfarrelll_", + "angkatan_telu": "2018", + "angkatan_ai": "2019", + "foto": "https://drive.google.com/open?id=1OrO6opaRYhbjRlwD5HFCY7LHWiz3xDmm", + "foto_id": "1OrO6opaRYhbjRlwD5HFCY7LHWiz3xDmm" + }, + { + "timestamp": "3/31/2021 12:18:53", + "nama": "Kartika Putri Dwi Atmojo", + "linkedin": "https://www.linkedin.com/in/kartika-putri-51239a113", + "instagram": "https://www.instagram.com/dwi.kartikaputri", + "angkatan_telu": "2017", + "angkatan_ai": "2018", + "foto": "https://drive.google.com/open?id=1xGhZKEG75WE5vapjB8EtuqLtGzGWHUl5", + "foto_id": "1xGhZKEG75WE5vapjB8EtuqLtGzGWHUl5" + }, + { + "timestamp": "4/1/2021 16:57:58", + "nama": "Pratama Yoga Santosa", + "linkedin": "https://www.linkedin.com/in/pratamays", + "instagram": "https://www.instagram.com/pratamays", + "angkatan_telu": "2017", + "angkatan_ai": "2018", + "foto": "https://drive.google.com/open?id=1G2lXAqxQrzbpDKDAVN7XM4ouczQ4YLQk", + "foto_id": "1G2lXAqxQrzbpDKDAVN7XM4ouczQ4YLQk" + }, + { + "timestamp": "3/31/2021 18:55:47", + "nama": "Vebby Clarissa", + "linkedin": "https://www.linkedin.com/in/vebbyclarissa", + "instagram": "https://www.instagram.com/Vebbyclrs", + "angkatan_telu": "2015", + "angkatan_ai": "2017", + "foto": "https://drive.google.com/open?id=13xpf1ddTat6BQcfqJb-chkEsjoBU_QDM", + "foto_id": "13xpf1ddTat6BQcfqJb-chkEsjoBU_QDM" + }, + { + "timestamp": "3/31/2021 11:30:34", + "nama": "Rizal Kusuma Putra", + "linkedin": "https://www.linkedin.com/in/rizal-kusuma-putra-6973831b3/ ", + "instagram": "https://www.instagram.com/jaleuhuy", + "angkatan_telu": "2017", + "angkatan_ai": "2017", + "foto": "https://drive.google.com/open?id=1-jOxDrNOqUS9fbBWv7uobqH0AM7V8OIJ", + "foto_id": "1-jOxDrNOqUS9fbBWv7uobqH0AM7V8OIJ" + }, + { + "timestamp": "4/16/2021 11:16:45", + "nama": "Ilham Muhammad Aziz", + "linkedin": "https://www.linkedin.com/in/Ilham.Muhammad", + "instagram": "https://www.instagram.com/ilhammaziz27", + "angkatan_telu": "2012", + "angkatan_ai": "2016", + "foto": "https://drive.google.com/open?id=1BJhxyuhVDahn_Omp61Db17e2k8UmT5yz", + "foto_id": "1BJhxyuhVDahn_Omp61Db17e2k8UmT5yz" + }, + { + "timestamp": "3/31/2021 17:48:06", + "nama": "Fahmi Salman Nurfikri ", + "linkedin": "https://www.linkedin.com/in/fahmisalman", + "instagram": "https://www.instagram.com/Fahmisalmann", + "angkatan_telu": "2014", + "angkatan_ai": "2015", + "foto": "https://drive.google.com/open?id=1uknBunesp_Mv6acQQJKLlm2Qfj3M0Gag", + "foto_id": "1uknBunesp_Mv6acQQJKLlm2Qfj3M0Gag" + }, + { + "timestamp": "3/31/2021 15:39:26", + "nama": "Faidhil Nugrah Ramadhan", + "linkedin": "https://www.linkedin.com/in/faidhil-nugrah-ramadhan-6952a6147", + "instagram": "", + "angkatan_telu": "2013", + "angkatan_ai": "2013", + "foto": "https://drive.google.com/open?id=19pSCF-bk0lC05MOP-OJBlLzSdLqM3A0r", + "foto_id": "19pSCF-bk0lC05MOP-OJBlLzSdLqM3A0r" + }, + { + "timestamp": "7/13/2021 21:31:12", + "nama": "M Alif Naufal Yasin", + "linkedin": "https://www.linkedin.com/in/alifnaufalyasin/", + "instagram": "https://www.instagram.com/alifnaufal_yasin", + "angkatan_telu": "2018", + "angkatan_ai": "2020", + "foto": "https://drive.google.com/open?id=1cG2V-S5hODx6NeVMArIeY5_ips7MaahV", + "foto_id": "1cG2V-S5hODx6NeVMArIeY5_ips7MaahV" + }, + { + "timestamp": "7/13/2021 21:55:20", + "nama": "Novita", + "linkedin": "https://www.linkedin.com/in/novitaguok", + "instagram": "https://www.instagram.com/novita_guok", + "angkatan_telu": "2018", + "angkatan_ai": "2019", + "foto": "https://drive.google.com/open?id=1ib5lc8dC7uB-CjIE9xwoP1WRNo6sALwB", + "foto_id": "1ib5lc8dC7uB-CjIE9xwoP1WRNo6sALwB" + }, + { + "timestamp": "7/13/2021 22:05:38", + "nama": "Ni Made Dwipadini Puspitarini", + "linkedin": "https://www.linkedin.com/in/dinipuspitarini/", + "instagram": "https://www.instagram.com/dinipuspitharini", + "angkatan_telu": "2019", + "angkatan_ai": "2020", + "foto": "https://drive.google.com/open?id=1d4wqxeRfC8qsbg4DoMgbqVKIf5m3MpAE", + "foto_id": "1d4wqxeRfC8qsbg4DoMgbqVKIf5m3MpAE" + }, + { + "timestamp": "7/14/2021 8:55:01", + "nama": "Pratama Azmi Atmajaya", + "linkedin": "https://www.linkedin.com/in/pratamaazmia/", + "instagram": "https://www.instagram.com/pramz.exe", + "angkatan_telu": "2018", + "angkatan_ai": "2021", + "foto": "https://drive.google.com/open?id=1DuDfVS-ufiMEmIBG3vJxVxUrwtgzaIgr", + "foto_id": "1DuDfVS-ufiMEmIBG3vJxVxUrwtgzaIgr" + }, + { + "timestamp": "7/17/2021 13:08:46", + "nama": "Muhammad Rizqi Choirulfikri", + "linkedin": "https://www.linkedin.com/in/rizqichoirulfikri", + "instagram": "https://www.instagram.com/rizqichoirulfikri", + "angkatan_telu": "2018", + "angkatan_ai": "2020", + "foto": "https://drive.google.com/open?id=1wuy6T8pmLlkpYxqcBXs3-BQYFoMKCMaj", + "foto_id": "1wuy6T8pmLlkpYxqcBXs3-BQYFoMKCMaj" + }, + { + "timestamp": "7/17/2021 13:13:24", + "nama": "Maiza Radhiya", + "linkedin": "https://www.linkedin.com/in/maizaradhiya/", + "instagram": "https://www.instagram.com/mzrdh/", + "angkatan_telu": "2018", + "angkatan_ai": "2020", + "foto": "https://drive.google.com/open?id=1saeHw43rw_TXlWIgomE7oMebZU2xKIbd", + "foto_id": "1saeHw43rw_TXlWIgomE7oMebZU2xKIbd" + }, + { + "timestamp": "7/17/2021 13:16:52", + "nama": "Wahyu Hauzan Rafi", + "linkedin": "https://www.linkedin.com/in/wahyuhauzanrafi/", + "instagram": "https://www.instagram.com/wahyuhauzan", + "angkatan_telu": "2019", + "angkatan_ai": "2021", + "foto": "https://drive.google.com/open?id=1vr3IRyJ_CdijalJz2hflCG8ueA8teE72", + "foto_id": "1vr3IRyJ_CdijalJz2hflCG8ueA8teE72" + }, + { + "timestamp": "7/17/2021 14:18:09", + "nama": "Kaenova Mahendra Auditama", + "linkedin": "https://www.linkedin.com/in/kaenova/", + "instagram": "https://www.instagram.com/kaenovama/", + "angkatan_telu": "2019", + "angkatan_ai": "2020", + "foto": "https://drive.google.com/open?id=1yTYdxGGmlb9WV0_SVP--MKmBLxGFSGbd", + "foto_id": "1yTYdxGGmlb9WV0_SVP--MKmBLxGFSGbd" + }, + { + "timestamp": "7/17/2021 14:48:57", + "nama": "Bagja 9102 Kurniawan", + "linkedin": "https://www.linkedin.com/in/bagja9102/", + "instagram": "https://www.instagram.com/mochi_oreo_/", + "angkatan_telu": "2019", + "angkatan_ai": "2020", + "foto": "https://drive.google.com/open?id=1DNe39Pp9Q7Kkp6vdEBdjeVaIEb-XFfSf", + "foto_id": "1DNe39Pp9Q7Kkp6vdEBdjeVaIEb-XFfSf" + }, + { + "timestamp": "7/30/2021 23:24:49", + "nama": "I Putu Indra Aristya", + "linkedin": "https://www.linkedin.com/in/indraaristya", + "instagram": "https://instagram.com/indraaristya", + "angkatan_telu": "2015", + "angkatan_ai": "2016", + "foto": "https://drive.google.com/open?id=1Zx58gGETscCoJ3uhvYIRwsWww4tMEorZ", + "foto_id": "1Zx58gGETscCoJ3uhvYIRwsWww4tMEorZ" + }, + { + "timestamp": "7/31/2021 0:12:36", + "nama": "Qhansa Di'Ayu Putri Bayu", + "linkedin": "https://www.linkedin.com/in/qhansa/", + "instagram": "https://www.instagram.com/qhansa/", + "angkatan_telu": "2014", + "angkatan_ai": "2015", + "foto": "https://drive.google.com/open?id=1kAVTvQeEGkknCGcEVxDp7hrB55if6ryy", + "foto_id": "1kAVTvQeEGkknCGcEVxDp7hrB55if6ryy" + }, + { + "timestamp": "7/31/2021 0:45:27", + "nama": "Eliza Riviera Rachmawati Jasin", + "linkedin": "https://www.linkedin.com/in/elizajasin", + "instagram": "https://www.instagram.com/elizajasin/", + "angkatan_telu": "2013", + "angkatan_ai": "2014", + "foto": "https://drive.google.com/open?id=1_zh692IwrKF-PujJaSNMPjgLbe1CFDap", + "foto_id": "1_zh692IwrKF-PujJaSNMPjgLbe1CFDap" + }, + { + "timestamp": "8/2/2021 22:09:59", + "nama": "Nabil Anwar Fauzi", + "linkedin": "https://www.linkedin.com/in/nabil-anwar-a841571b2/", + "instagram": "https://www.instagram.com/bilan.fa/", + "angkatan_telu": "2018", + "angkatan_ai": "2020", + "foto": "https://drive.google.com/open?id=1thS1Ca6pIPEjpMoAHzoi29O85AmoRmh_", + "foto_id": "1thS1Ca6pIPEjpMoAHzoi29O85AmoRmh_" + }, + { + "timestamp": "8/10/2021 16:51:44", + "nama": "MUHAMMAD FAUZAN AFIANTO", + "linkedin": "https://www.linkedin.com/in/fauzanafianto/", + "instagram": "https://www.instagram.com/fian.py/", + "angkatan_telu": "2013", + "angkatan_ai": "2014", + "foto": "https://drive.google.com/open?id=1qOBxnxPLF9V_XYd_KKrTDXB9SE_8wOhE", + "foto_id": "1qOBxnxPLF9V_XYd_KKrTDXB9SE_8wOhE" + }, + { + "timestamp": "", + "nama": "Muhammad Rizky Irsyad", + "linkedin": "https://www.linkedin.com/in/mri123/ ", + "instagram": "", + "angkatan_telu": "2018", + "angkatan_ai": "2021", + "foto": "https://drive.google.com/open?id=1VgcOtFCfQCm9Jl-tSCuTohOc2Y11deWn", + "foto_id": "1VgcOtFCfQCm9Jl-tSCuTohOc2Y11deWn" + }, + { + "timestamp": "7/25/2022 17:02:14", + "nama": "Gloria Natasya Irene Sidebang", + "linkedin": "https://www.linkedin.com/in/glorianatasya", + "instagram": "https://www.instagram.com/glorianatasyaaa", + "angkatan_telu": "2021", + "angkatan_ai": "2022", + "foto": "https://drive.google.com/open?id=1Np-HKRCkRevxfPdYzKpucuO7ac0hfw4w", + "foto_id": "1Np-HKRCkRevxfPdYzKpucuO7ac0hfw4w" + }, + { + "timestamp": "7/25/2022 18:36:19", + "nama": "Muhamad Omar Dhani", + "linkedin": "https://www.linkedin.com/in/omardhani/", + "instagram": "https://www.instagram.com/omrdhani/", + "angkatan_telu": "2020", + "angkatan_ai": "2022", + "foto": "https://drive.google.com/open?id=1oC0wYUI6IVPCvpvywFSntkUvN0oChQLT", + "foto_id": "1oC0wYUI6IVPCvpvywFSntkUvN0oChQLT" + }, + { + "timestamp": "7/25/2022 19:36:28", + "nama": "Muhammad Daffa Ferdiansyah", + "linkedin": "https://www.linkedin.com/in/muhammad-daffa-ferdiansyah-04319b209", + "instagram": "https://instagram.com/daffa.ferdiansyah_", + "angkatan_telu": "2020", + "angkatan_ai": "2022", + "foto": "https://drive.google.com/open?id=1zUVx8iNYPlPw4oizqGDc9weSVlR2X2yM", + "foto_id": "1zUVx8iNYPlPw4oizqGDc9weSVlR2X2yM" + }, + { + "timestamp": "7/25/2022 20:08:58", + "nama": "Muhammad Naufal Hawari", + "linkedin": "https://www.linkedin.com/in/muhammad-naufal-hawari-86a8811a6/", + "instagram": "https://www.instagram.com/naufalhawarii", + "angkatan_telu": "2021", + "angkatan_ai": "2022", + "foto": "https://drive.google.com/open?id=1Ibx8srGQbXQWal8qv3KC21AU_GM0_g2o", + "foto_id": "1Ibx8srGQbXQWal8qv3KC21AU_GM0_g2o" + }, + { + "timestamp": "7/25/2022 20:17:33", + "nama": "Bagus Hariyadi", + "linkedin": "https://www.linkedin.com/in/bagushariyadi/", + "instagram": "https://www.instagram.com/bagushariyadi879/", + "angkatan_telu": "2020", + "angkatan_ai": "2022", + "foto": "https://drive.google.com/open?id=1Q3QrWXim5adVvmoOZfW5OeL-s5xMKxwZ", + "foto_id": "1Q3QrWXim5adVvmoOZfW5OeL-s5xMKxwZ" + }, + { + "timestamp": "7/25/2022 20:22:39", + "nama": "Indra Wahyu", + "linkedin": "https://www.linkedin.com/in/indra-wahyu", + "instagram": "https://www.instagram.com/idr_yuu", + "angkatan_telu": "2021", + "angkatan_ai": "2022", + "foto": "https://drive.google.com/open?id=1HosgihmoD-1iAnAsXLLhQqg22oUf2Nc7", + "foto_id": "1HosgihmoD-1iAnAsXLLhQqg22oUf2Nc7" + }, + { + "timestamp": "7/25/2022 20:26:55", + "nama": "Alifio Yudhistira Aji Salis", + "linkedin": "https://www.linkedin.com/in/alifio-yudhistira-aji-salis-0170721b9", + "instagram": "https://www.instagram.com/xenosians/", + "angkatan_telu": "2020", + "angkatan_ai": "2022", + "foto": "https://drive.google.com/open?id=1Na_qbucMQoNE3Bmoi8_e2QIpZ_MPcHDT", + "foto_id": "1Na_qbucMQoNE3Bmoi8_e2QIpZ_MPcHDT" + }, + { + "timestamp": "7/25/2022 21:05:31", + "nama": "Muhamad Rafli Susanto", + "linkedin": "https://www.linkedin.com/in/raflisusanto/", + "instagram": "https://www.instagram.com/rupruply/?hl=id", + "angkatan_telu": "2020", + "angkatan_ai": "2022", + "foto": "https://drive.google.com/open?id=1V9NCwwz-ELQQO3sF-tKOvhd-50uyARU7", + "foto_id": "1V9NCwwz-ELQQO3sF-tKOvhd-50uyARU7" + }, + { + "timestamp": "7/25/2022 21:16:58", + "nama": "Elroi Yoshua", + "linkedin": "https://www.linkedin.com/in/elroi-yoshua-46120b219/", + "instagram": "https://www.instagram.com/elroiyoshua/", + "angkatan_telu": "2020", + "angkatan_ai": "2022", + "foto": "https://drive.google.com/open?id=1qoxGhRQZpphWjC5y05mlCuZoT4B3GHHk", + "foto_id": "1qoxGhRQZpphWjC5y05mlCuZoT4B3GHHk" + }, + { + "timestamp": "7/26/2022 9:19:35", + "nama": "Alfinata Yusuf Sitaba", + "linkedin": "https://www.linkedin.com/in/alfinata-sitaba-ba4b67162/", + "instagram": "", + "angkatan_telu": "2019", + "angkatan_ai": "2022", + "foto": "https://drive.google.com/open?id=1I_Pxf1fUZiXAvygobJhSxIq4TqpZIs8r", + "foto_id": "1I_Pxf1fUZiXAvygobJhSxIq4TqpZIs8r" + }, + { + "timestamp": "7/26/2022 11:23:24", + "nama": "Dindin Inas Candra Wiguna", + "linkedin": "https://www.linkedin.com/in/dindin-inas-candra-wiguna-998512218", + "instagram": "https://www.instagram.com/dindinas_", + "angkatan_telu": "2019", + "angkatan_ai": "2022", + "foto": "https://drive.google.com/open?id=1c_7VpvQw-m8BfRm--vWkjP7_3zN7xQwu", + "foto_id": "1c_7VpvQw-m8BfRm--vWkjP7_3zN7xQwu" + }, + { + "timestamp": "7/26/2022 14:20:29", + "nama": "Harvian Khusnan Hafidz", + "linkedin": "https://www.linkedin.com/in/harvian-khusnan-hafidz-19072822a", + "instagram": "https://www.instagram.com/harviankhusnan_/", + "angkatan_telu": "2020", + "angkatan_ai": "2022", + "foto": "https://drive.google.com/open?id=13RM_QoDsPqPddarml13xkoFi6PvttsHM", + "foto_id": "13RM_QoDsPqPddarml13xkoFi6PvttsHM" + }, + { + "timestamp": "7/26/2022 14:49:04", + "nama": "Ismar Apuandi", + "linkedin": "https://www.linkedin.com/in/ismar-apuandi-5a6a85194/", + "instagram": "https://www.instagram.com/ismmarr/", + "angkatan_telu": "2019", + "angkatan_ai": "2022", + "foto": "https://drive.google.com/open?id=1FSv846FQMp-5Z893JZPpmB32X3Et-a2d", + "foto_id": "1FSv846FQMp-5Z893JZPpmB32X3Et-a2d" + }, + { + "timestamp": "7/26/2022 15:19:35", + "nama": "Anisa Adelya Ayuputri", + "linkedin": "https://www.linkedin.com/in/anisa-adelya-27b986208/", + "instagram": "https://www.instagram.com/anisaadelya/", + "angkatan_telu": "2020", + "angkatan_ai": "2021", + "foto": "https://drive.google.com/open?id=1Tw3A41LhMqMSV7912NjFh7_H1mZSKK9V", + "foto_id": "1Tw3A41LhMqMSV7912NjFh7_H1mZSKK9V" + }, + { + "timestamp": "7/26/2022 16:32:48", + "nama": "Ryan Chandra Hadi", + "linkedin": "https://www.linkedin.com/in/ryan-chandra-hadi/", + "instagram": "https://www.instagram.com/rchandra_1/", + "angkatan_telu": "2020", + "angkatan_ai": "2022", + "foto": "https://drive.google.com/open?id=1VDRinTfKQ4F409a7W4B5jch0tjEN1wUD", + "foto_id": "1VDRinTfKQ4F409a7W4B5jch0tjEN1wUD" + }, + { + "timestamp": "7/27/2022 14:40:13", + "nama": "Afeef Radithya Rashid", + "linkedin": "https://www.linkedin.com/in/afeef-radithya-rashid-487b13236/", + "instagram": "https://www.instagram.com/afeefradithya/", + "angkatan_telu": "2021", + "angkatan_ai": "2022", + "foto": "https://drive.google.com/open?id=1g0mVxLJcppM52QEvpmamO0UNFoz1ugDZ", + "foto_id": "1g0mVxLJcppM52QEvpmamO0UNFoz1ugDZ" + }, + { + "timestamp": "7/28/2022 11:05:32", + "nama": "Akbar Muhammad Prakoso", + "linkedin": "https://www.linkedin.com/in/akbar-muhammad-205616197/", + "instagram": "https://www.instagram.com/akbar_muh_", + "angkatan_telu": "2021", + "angkatan_ai": "2022", + "foto": "https://drive.google.com/open?id=1b_XD9JO_UDVk2o7KQUNGEAdGcmX-6mYc", + "foto_id": "1b_XD9JO_UDVk2o7KQUNGEAdGcmX-6mYc" + }, + { + "timestamp": "7/28/2022 17:00:43", + "nama": "Khalilullah Al Faath", + "linkedin": "https://www.linkedin.com/in/khalilullah-al-faath-4a684021a", + "instagram": "https://www.instagram.com/khalilullahalfaath/", + "angkatan_telu": "2020", + "angkatan_ai": "2022", + "foto": "https://drive.google.com/open?id=1Grbi1hc7eVQWmdAnX9Jq517WBOdG-MLI", + "foto_id": "1Grbi1hc7eVQWmdAnX9Jq517WBOdG-MLI" + }, + { + "timestamp": "7/29/2022 0:44:28", + "nama": "Bintan Dinar Artamevia", + "linkedin": "https://www.linkedin.com/in/bintan-dinar-artamevia-6804b4207", + "instagram": "instagram.com/biintandinar", + "angkatan_telu": "2021", + "angkatan_ai": "2022", + "foto": "https://drive.google.com/open?id=1v2FnGZ4SFy_D6Px62D0gzSTtSQ_YlMzb", + "foto_id": "1v2FnGZ4SFy_D6Px62D0gzSTtSQ_YlMzb" + }, + { + "timestamp": "8/2/2022 21:02:37", + "nama": "Asfa Amalia Dinata", + "linkedin": "https://www.linkedin.com/in/asfa-amalia-316470233/", + "instagram": "https://www.instagram.com/asfa_amd/", + "angkatan_telu": "2020", + "angkatan_ai": "2022", + "foto": "https://drive.google.com/open?id=1GGLohkQFQdWAb5WKZHsn5MhLZefouxza", + "foto_id": "1GGLohkQFQdWAb5WKZHsn5MhLZefouxza" + }, + { + "timestamp": "8/14/2022 20:52:01", + "nama": "Muhammad Daffa Khairi", + "linkedin": "https://www.linkedin.com/in/da4/", + "instagram": "https://www.instagram.com/da4.obj/", + "angkatan_telu": "2020", + "angkatan_ai": "2022", + "foto": "https://drive.google.com/open?id=17tXEFTd-d3eYUJE4w1vjETlaHbxO0yKY", + "foto_id": "17tXEFTd-d3eYUJE4w1vjETlaHbxO0yKY" + }, + { + "timestamp": "9/1/2022 13:29:16", + "nama": "Dieka Nugraha Karyana", + "linkedin": "https://www.linkedin.com/in/dieka-nugraha", + "instagram": "https://www.instagram.com/diekanugraha/", + "angkatan_telu": "2012", + "angkatan_ai": "2013", + "foto": "https://drive.google.com/open?id=1iiX1kYK3CJVrHgvV1XPiYsLSEh1q-1aS", + "foto_id": "1iiX1kYK3CJVrHgvV1XPiYsLSEh1q-1aS" + } +] \ No newline at end of file From 2d07944dce2193d5c30ec934fbbdbe604ce697d9 Mon Sep 17 00:00:00 2001 From: alifnaufalyasin Date: Mon, 31 Jul 2023 22:30:52 +0700 Subject: [PATCH 05/28] update workflow add exclude file --- .github/workflows/deploy.yml | 3 +++ .github/workflows/generate-data-member.yml | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e349f99d..1f1b09fa 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -32,3 +32,6 @@ jobs: BRANCH: production # The branch the action should deploy to. FOLDER: out # The folder the action should deploy. CLEAN: true # Automatically remove deleted files from the deploy branch + clean-exclude: | + data/*.json + diff --git a/.github/workflows/generate-data-member.yml b/.github/workflows/generate-data-member.yml index e1bcc811..950687fa 100644 --- a/.github/workflows/generate-data-member.yml +++ b/.github/workflows/generate-data-member.yml @@ -21,7 +21,7 @@ jobs: cd .. rm -rf ./scripts git add ./data/dataMember.json - + # Commit the changes - name: Commit changes run: | @@ -33,6 +33,6 @@ jobs: - name: Push changes uses: ad-m/github-push-action@master with: - github_token: ${{ secrets.GITHUB_TOKEN }} + github_token: ${{ secrets.TOKEN_SECRET }} From 0a90fda8cc56647c709036824bd0a19ed141e8ab Mon Sep 17 00:00:00 2001 From: alifnaufalyasin Date: Mon, 31 Jul 2023 22:38:12 +0700 Subject: [PATCH 06/28] update workflow --- .github/workflows/generate-data-member.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/generate-data-member.yml b/.github/workflows/generate-data-member.yml index 950687fa..ca857798 100644 --- a/.github/workflows/generate-data-member.yml +++ b/.github/workflows/generate-data-member.yml @@ -21,18 +21,13 @@ jobs: cd .. rm -rf ./scripts git add ./data/dataMember.json - + # Commit the changes - name: Commit changes run: | git config --local user.email "action@github.com" git config --local user.name "GitHub Action" git commit -m "Update data member from GitHub Action" || true - - # Push the changes back to the repository - - name: Push changes - uses: ad-m/github-push-action@master - with: - github_token: ${{ secrets.TOKEN_SECRET }} + git push origin production From 6e636b2bb2fef25453777847d690f79a791ce05f Mon Sep 17 00:00:00 2001 From: alifnaufalyasin Date: Mon, 31 Jul 2023 22:39:46 +0700 Subject: [PATCH 07/28] update workflow --- .github/workflows/generate-data-member.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/generate-data-member.yml b/.github/workflows/generate-data-member.yml index ca857798..d6a67fcd 100644 --- a/.github/workflows/generate-data-member.yml +++ b/.github/workflows/generate-data-member.yml @@ -19,12 +19,12 @@ jobs: git checkout -b production cp ./dataMember.json ../data/dataMember.json cd .. - rm -rf ./scripts - git add ./data/dataMember.json + rm -rf ./scripts/dataMember.json # Commit the changes - name: Commit changes run: | + git add ./data/dataMember.json git config --local user.email "action@github.com" git config --local user.name "GitHub Action" git commit -m "Update data member from GitHub Action" || true From 4093bb39e0940eb3ea5f2b300fa54142cd82d13e Mon Sep 17 00:00:00 2001 From: alifnaufalyasin Date: Mon, 31 Jul 2023 22:40:55 +0700 Subject: [PATCH 08/28] update workflows --- .github/workflows/generate-data-member.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/generate-data-member.yml b/.github/workflows/generate-data-member.yml index d6a67fcd..4787d706 100644 --- a/.github/workflows/generate-data-member.yml +++ b/.github/workflows/generate-data-member.yml @@ -19,7 +19,7 @@ jobs: git checkout -b production cp ./dataMember.json ../data/dataMember.json cd .. - rm -rf ./scripts/dataMember.json + rm -rf ./scripts/dataMember.json ./scripts/dataMember.csv # Commit the changes - name: Commit changes From e918daa32db608631b397f50dea6d6737cec86ed Mon Sep 17 00:00:00 2001 From: alifnaufalyasin Date: Mon, 31 Jul 2023 22:42:28 +0700 Subject: [PATCH 09/28] update workflow --- .github/workflows/generate-data-member.yml | 2 -- .gitignore | 5 ++++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/generate-data-member.yml b/.github/workflows/generate-data-member.yml index 4787d706..a2dc0a1d 100644 --- a/.github/workflows/generate-data-member.yml +++ b/.github/workflows/generate-data-member.yml @@ -18,8 +18,6 @@ jobs: python script.py git checkout -b production cp ./dataMember.json ../data/dataMember.json - cd .. - rm -rf ./scripts/dataMember.json ./scripts/dataMember.csv # Commit the changes - name: Commit changes diff --git a/.gitignore b/.gitignore index 513cf496..00330d48 100644 --- a/.gitignore +++ b/.gitignore @@ -33,4 +33,7 @@ yarn-error.log* /images/dbg.png /images/ebg.png -/images/fixbg.png \ No newline at end of file +/images/fixbg.png + +/scripts/*.csv +/scripts/*.json \ No newline at end of file From d479ef93466859221951f4d0337d49d411c4f669 Mon Sep 17 00:00:00 2001 From: alifnaufalyasin Date: Mon, 31 Jul 2023 22:43:57 +0700 Subject: [PATCH 10/28] update workflow --- .github/workflows/generate-data-member.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/generate-data-member.yml b/.github/workflows/generate-data-member.yml index a2dc0a1d..da975c20 100644 --- a/.github/workflows/generate-data-member.yml +++ b/.github/workflows/generate-data-member.yml @@ -17,6 +17,7 @@ jobs: cd ./scripts python script.py git checkout -b production + git fetch cp ./dataMember.json ../data/dataMember.json # Commit the changes From 539a1f60d067e7564ffeceb86c0d47060fc1a969 Mon Sep 17 00:00:00 2001 From: alifnaufalyasin Date: Mon, 31 Jul 2023 22:47:13 +0700 Subject: [PATCH 11/28] update workflow --- .github/workflows/generate-data-member.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/generate-data-member.yml b/.github/workflows/generate-data-member.yml index da975c20..21035b92 100644 --- a/.github/workflows/generate-data-member.yml +++ b/.github/workflows/generate-data-member.yml @@ -19,11 +19,11 @@ jobs: git checkout -b production git fetch cp ./dataMember.json ../data/dataMember.json + git add ./data/dataMember.json # Commit the changes - name: Commit changes run: | - git add ./data/dataMember.json git config --local user.email "action@github.com" git config --local user.name "GitHub Action" git commit -m "Update data member from GitHub Action" || true From 41b53746a953ec45b7518706b70526cf44fa06ef Mon Sep 17 00:00:00 2001 From: alifnaufalyasin Date: Mon, 31 Jul 2023 22:48:51 +0700 Subject: [PATCH 12/28] update workflow --- .github/workflows/generate-data-member.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/generate-data-member.yml b/.github/workflows/generate-data-member.yml index 21035b92..4543b98b 100644 --- a/.github/workflows/generate-data-member.yml +++ b/.github/workflows/generate-data-member.yml @@ -19,7 +19,7 @@ jobs: git checkout -b production git fetch cp ./dataMember.json ../data/dataMember.json - git add ./data/dataMember.json + git add ../data/dataMember.json # Commit the changes - name: Commit changes From caf2f836742b63de0fcee73312816c98f0892b6a Mon Sep 17 00:00:00 2001 From: alifnaufalyasin Date: Mon, 31 Jul 2023 22:51:09 +0700 Subject: [PATCH 13/28] 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 From 64e8a4f6a89d95285ed7d86fa11d14f3d44d0bcb Mon Sep 17 00:00:00 2001 From: alifnaufalyasin Date: Mon, 31 Jul 2023 22:53:23 +0700 Subject: [PATCH 14/28] update workflow --- .github/workflows/generate-data-member.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/generate-data-member.yml b/.github/workflows/generate-data-member.yml index 989ac7f9..11da1895 100644 --- a/.github/workflows/generate-data-member.yml +++ b/.github/workflows/generate-data-member.yml @@ -20,7 +20,7 @@ jobs: git checkout -b production git fetch cd .. - cp ~/data/dataMember.json ./data/dataMember.json + cp -rf ~/data/dataMember.json ./data/dataMember.json git add ./data/dataMember.json # Commit the changes From b6604f58a8e894956c9d473c21cdafc1bf3348b1 Mon Sep 17 00:00:00 2001 From: alifnaufalyasin Date: Mon, 31 Jul 2023 22:54:14 +0700 Subject: [PATCH 15/28] update workflow --- .github/workflows/generate-data-member.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/generate-data-member.yml b/.github/workflows/generate-data-member.yml index 11da1895..6ce770a5 100644 --- a/.github/workflows/generate-data-member.yml +++ b/.github/workflows/generate-data-member.yml @@ -20,7 +20,8 @@ jobs: git checkout -b production git fetch cd .. - cp -rf ~/data/dataMember.json ./data/dataMember.json + mkdir ~/data + cp ~/data/dataMember.json ./data/dataMember.json git add ./data/dataMember.json # Commit the changes From 620f7e3aeb3754571b750dc5ff4532dda273fdaf Mon Sep 17 00:00:00 2001 From: alifnaufalyasin Date: Mon, 31 Jul 2023 22:58:00 +0700 Subject: [PATCH 16/28] update workflow --- .github/workflows/generate-data-member.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/generate-data-member.yml b/.github/workflows/generate-data-member.yml index 6ce770a5..19951260 100644 --- a/.github/workflows/generate-data-member.yml +++ b/.github/workflows/generate-data-member.yml @@ -20,8 +20,9 @@ jobs: git checkout -b production git fetch cd .. - mkdir ~/data - cp ~/data/dataMember.json ./data/dataMember.json + mkdir /tmp/data + cp /tmp/data/dataMember.json ./data/dataMember.json + mkdir ./data/data git add ./data/dataMember.json # Commit the changes From 78cc7d3f416eb13fb74e76570784b447c7df9701 Mon Sep 17 00:00:00 2001 From: alifnaufalyasin Date: Mon, 31 Jul 2023 23:00:43 +0700 Subject: [PATCH 17/28] update workflow --- .github/workflows/generate-data-member.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/generate-data-member.yml b/.github/workflows/generate-data-member.yml index 19951260..3adba9a2 100644 --- a/.github/workflows/generate-data-member.yml +++ b/.github/workflows/generate-data-member.yml @@ -16,13 +16,13 @@ jobs: run: | cd ./scripts python script.py - cp ./dataMember.json ~/data/dataMember.json + mkdir /tmp/data + cp ./dataMember.json tmp/data/dataMember.json git checkout -b production git fetch cd .. - mkdir /tmp/data cp /tmp/data/dataMember.json ./data/dataMember.json - mkdir ./data/data + mkdir ./data git add ./data/dataMember.json # Commit the changes From d26d38c49540d4ddb6e43268550bb00814051cd9 Mon Sep 17 00:00:00 2001 From: alifnaufalyasin Date: Mon, 31 Jul 2023 23:05:06 +0700 Subject: [PATCH 18/28] update --- .github/workflows/generate-data-member.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/generate-data-member.yml b/.github/workflows/generate-data-member.yml index 3adba9a2..76b6e2cd 100644 --- a/.github/workflows/generate-data-member.yml +++ b/.github/workflows/generate-data-member.yml @@ -16,13 +16,13 @@ jobs: run: | cd ./scripts python script.py - mkdir /tmp/data + mkdir -p /tmp/data cp ./dataMember.json tmp/data/dataMember.json git checkout -b production git fetch cd .. cp /tmp/data/dataMember.json ./data/dataMember.json - mkdir ./data + mkdir -p ./data git add ./data/dataMember.json # Commit the changes From a9c6b983963be533a44fd5c073b9c27c813f7451 Mon Sep 17 00:00:00 2001 From: alifnaufalyasin Date: Mon, 31 Jul 2023 23:06:43 +0700 Subject: [PATCH 19/28] update --- .github/workflows/generate-data-member.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/generate-data-member.yml b/.github/workflows/generate-data-member.yml index 76b6e2cd..07c6e2ca 100644 --- a/.github/workflows/generate-data-member.yml +++ b/.github/workflows/generate-data-member.yml @@ -17,7 +17,7 @@ jobs: cd ./scripts python script.py mkdir -p /tmp/data - cp ./dataMember.json tmp/data/dataMember.json + cp ./dataMember.json /tmp/data/dataMember.json git checkout -b production git fetch cd .. From 4c813daf5de3e9d38dcb488b3b7fa9218cce3f94 Mon Sep 17 00:00:00 2001 From: alifnaufalyasin Date: Mon, 31 Jul 2023 23:11:05 +0700 Subject: [PATCH 20/28] update --- .github/workflows/generate-data-member.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/generate-data-member.yml b/.github/workflows/generate-data-member.yml index 07c6e2ca..429eb010 100644 --- a/.github/workflows/generate-data-member.yml +++ b/.github/workflows/generate-data-member.yml @@ -24,10 +24,6 @@ jobs: cp /tmp/data/dataMember.json ./data/dataMember.json mkdir -p ./data git add ./data/dataMember.json - - # Commit the changes - - name: Commit changes - run: | git config --local user.email "action@github.com" git config --local user.name "GitHub Action" git commit -m "Update data member from GitHub Action" || true From 1374c183c270563421549385cfbdb2548c7dcd83 Mon Sep 17 00:00:00 2001 From: alifnaufalyasin Date: Mon, 31 Jul 2023 23:13:45 +0700 Subject: [PATCH 21/28] update --- .github/workflows/generate-data-member.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/generate-data-member.yml b/.github/workflows/generate-data-member.yml index 429eb010..6a82c7f6 100644 --- a/.github/workflows/generate-data-member.yml +++ b/.github/workflows/generate-data-member.yml @@ -20,6 +20,7 @@ jobs: cp ./dataMember.json /tmp/data/dataMember.json git checkout -b production git fetch + git pull origin production cd .. cp /tmp/data/dataMember.json ./data/dataMember.json mkdir -p ./data From dc51caeaa447eede7884347fdb55be747a2e07bf Mon Sep 17 00:00:00 2001 From: alifnaufalyasin Date: Mon, 31 Jul 2023 23:27:33 +0700 Subject: [PATCH 22/28] update --- .github/workflows/generate-data-member.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/generate-data-member.yml b/.github/workflows/generate-data-member.yml index 6a82c7f6..d19f87bd 100644 --- a/.github/workflows/generate-data-member.yml +++ b/.github/workflows/generate-data-member.yml @@ -20,7 +20,7 @@ jobs: cp ./dataMember.json /tmp/data/dataMember.json git checkout -b production git fetch - git pull origin production + git pull --rebase origin production cd .. cp /tmp/data/dataMember.json ./data/dataMember.json mkdir -p ./data From c717acf1fa229e1607f606abb6efd46f8e571ea2 Mon Sep 17 00:00:00 2001 From: alifnaufalyasin Date: Mon, 31 Jul 2023 23:29:14 +0700 Subject: [PATCH 23/28] update --- .github/workflows/generate-data-member.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/generate-data-member.yml b/.github/workflows/generate-data-member.yml index d19f87bd..fac0d45d 100644 --- a/.github/workflows/generate-data-member.yml +++ b/.github/workflows/generate-data-member.yml @@ -25,8 +25,8 @@ jobs: cp /tmp/data/dataMember.json ./data/dataMember.json mkdir -p ./data git add ./data/dataMember.json - git config --local user.email "action@github.com" - git config --local user.name "GitHub Action" + git config --local user.email "alifnaufalyasin@gmail.com" + git config --local user.name "Alif Naufal" git commit -m "Update data member from GitHub Action" || true git push origin production From 0aef208ce88bcbbec1862ceb3635be263765e0c5 Mon Sep 17 00:00:00 2001 From: alifnaufalyasin Date: Mon, 31 Jul 2023 23:31:56 +0700 Subject: [PATCH 24/28] update --- .github/workflows/generate-data-member.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/generate-data-member.yml b/.github/workflows/generate-data-member.yml index fac0d45d..3bfa46ce 100644 --- a/.github/workflows/generate-data-member.yml +++ b/.github/workflows/generate-data-member.yml @@ -25,8 +25,8 @@ jobs: cp /tmp/data/dataMember.json ./data/dataMember.json mkdir -p ./data git add ./data/dataMember.json - git config --local user.email "alifnaufalyasin@gmail.com" - git config --local user.name "Alif Naufal" + git config --global user.email "action@github.com" + git config --global user.name "GitHub Action" git commit -m "Update data member from GitHub Action" || true git push origin production From c64d80376a8d3de653b96689e1d14ace13bc5507 Mon Sep 17 00:00:00 2001 From: alifnaufalyasin Date: Mon, 31 Jul 2023 23:42:01 +0700 Subject: [PATCH 25/28] update workflow --- .github/workflows/generate-data-member.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/generate-data-member.yml b/.github/workflows/generate-data-member.yml index 3bfa46ce..cc7188a9 100644 --- a/.github/workflows/generate-data-member.yml +++ b/.github/workflows/generate-data-member.yml @@ -24,9 +24,9 @@ jobs: cd .. cp /tmp/data/dataMember.json ./data/dataMember.json mkdir -p ./data + git config --global user.email "actions@example.com" + git config --global user.name "GitHub Actions" git add ./data/dataMember.json - git config --global user.email "action@github.com" - git config --global user.name "GitHub Action" git commit -m "Update data member from GitHub Action" || true git push origin production From 9490e89858b534c33674e3647e6e57493e83f322 Mon Sep 17 00:00:00 2001 From: alifnaufalyasin Date: Mon, 31 Jul 2023 23:50:35 +0700 Subject: [PATCH 26/28] update workflow --- .github/workflows/generate-data-member.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/generate-data-member.yml b/.github/workflows/generate-data-member.yml index cc7188a9..0937b9ce 100644 --- a/.github/workflows/generate-data-member.yml +++ b/.github/workflows/generate-data-member.yml @@ -24,8 +24,8 @@ jobs: cd .. cp /tmp/data/dataMember.json ./data/dataMember.json mkdir -p ./data - git config --global user.email "actions@example.com" - git config --global user.name "GitHub Actions" + git config --global user.email "alifnaufalyasin@users.noreply.github.com" + git config --global user.name "alifnaufalyasin" git add ./data/dataMember.json git commit -m "Update data member from GitHub Action" || true git push origin production From 590f76d7504a7f441ab399d60458efb0ef58bc87 Mon Sep 17 00:00:00 2001 From: alifnaufalyasin Date: Mon, 31 Jul 2023 23:53:14 +0700 Subject: [PATCH 27/28] update workflow --- .github/workflows/generate-data-member.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/generate-data-member.yml b/.github/workflows/generate-data-member.yml index 0937b9ce..304697bf 100644 --- a/.github/workflows/generate-data-member.yml +++ b/.github/workflows/generate-data-member.yml @@ -24,10 +24,10 @@ jobs: cd .. cp /tmp/data/dataMember.json ./data/dataMember.json mkdir -p ./data - git config --global user.email "alifnaufalyasin@users.noreply.github.com" - git config --global user.name "alifnaufalyasin" + git config --global user.email "actions@example.com" + git config --global user.name "GitHub Actions" git add ./data/dataMember.json - git commit -m "Update data member from GitHub Action" || true + git commit -m "Commit changes from GitHub Actions" || true git push origin production From 282c1604d89678955ac0b2367d624d1e577418e8 Mon Sep 17 00:00:00 2001 From: alifnaufalyasin Date: Tue, 1 Aug 2023 00:00:29 +0700 Subject: [PATCH 28/28] update workflow --- .github/workflows/generate-data-member.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/generate-data-member.yml b/.github/workflows/generate-data-member.yml index 304697bf..1e75c3ce 100644 --- a/.github/workflows/generate-data-member.yml +++ b/.github/workflows/generate-data-member.yml @@ -24,10 +24,16 @@ jobs: cd .. cp /tmp/data/dataMember.json ./data/dataMember.json mkdir -p ./data + + - name: Commit changes + run: | git config --global user.email "actions@example.com" git config --global user.name "GitHub Actions" - git add ./data/dataMember.json - git commit -m "Commit changes from GitHub Actions" || true + git add . + git commit -m "Commit changes from GitHub Actions" + + - name: Push changes + run: | git push origin production