diff --git a/.github/workflows/deploy-on-master-push.yml b/.github/workflows/deploy-on-master-push.yml index 57f1282..32e45c9 100644 --- a/.github/workflows/deploy-on-master-push.yml +++ b/.github/workflows/deploy-on-master-push.yml @@ -20,9 +20,5 @@ jobs: - name: Identify changed directories and files id: dir_changes run: | - CHANGED_DIRS=$(git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep '^files_for_db/' | awk -F'/' '{print $2}' | sort -u) - echo "Changed directories: $CHANGED_DIRS" - for dir in $CHANGED_DIRS; do - CHANGED_FILES=$(git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep "^files_for_db/$dir/") - echo "::set-output name=${dir}_changed_files::$CHANGED_FILES" - done + ssh -i "~/.ssh/id_aws.pem" ubuntu@ec2-34-224-89-239.compute-1.amazonaws.com '/home/ubuntu/run_commands.sh' + diff --git a/files_for_db/geo/khm_geo.csv b/files_for_db/geo/khm_geo.csv index 0624c05..615e53d 100644 --- a/files_for_db/geo/khm_geo.csv +++ b/files_for_db/geo/khm_geo.csv @@ -1,5 +1,4 @@ geo_id,deped_id,school_name,address,adm0,adm1,adm2,adm3,longitude,latitude -KHM-000002,basic_information_of_school_2014.3,Trang,,KHM,Bantey Meanchey,Mongkol Borei,Banteay Neang,103.0079455315561,13.505792141110023 KHM-000003,basic_information_of_school_2014.4,Pongror,,KHM,Bantey Meanchey,Mongkol Borei,Ou Prasat,102.9987791305384,13.498588556974575 KHM-000004,basic_information_of_school_2014.5,Kauk Tunloap,,KHM,Bantey Meanchey,Mongkol Borei,Banteay Neang,103.01423976974498,13.489583510676969 KHM-000005,basic_information_of_school_2014.6,Khilek,,KHM,Bantey Meanchey,Mongkol Borei,Banteay Neang,103.02543593860247,13.488072196416702