From a10e455fffa03117efa2d6cf17d5cde9bc4097b9 Mon Sep 17 00:00:00 2001 From: Courtney Myers Date: Tue, 17 Sep 2024 15:06:23 -0400 Subject: [PATCH 1/2] Add a step to the 'Production Build' GitHub Action workflow to remove the NCES JSON files, as they're fetched from an S3 bucket in production, so don't need to be in the deployed codebase --- .github/workflows/production.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index 0df3f0be..d1039615 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -79,6 +79,10 @@ jobs: run: rm -rf .env.example .eslintrc.js .prettierrc.json working-directory: app/server + - name: Remove NCES JSON files, as they're served from S3 in production + run: rm -rf nces-2023.json nces-2024.json + working-directory: app/server/app/content + - name: Copy production manifest file to server app run: cp manifest-production.yml server/manifest-production.yml working-directory: app From a4f46facb88bbf848c432b8e85b8cf16a8f0b666 Mon Sep 17 00:00:00 2001 From: Courtney Myers Date: Tue, 17 Sep 2024 16:00:43 -0400 Subject: [PATCH 2/2] Update 2024 NCES JSON file --- app/server/app/content/nces-2024.json | 29 +-------------------------- 1 file changed, 1 insertion(+), 28 deletions(-) diff --git a/app/server/app/content/nces-2024.json b/app/server/app/content/nces-2024.json index 08551f12..ccc6c7e4 100644 --- a/app/server/app/content/nces-2024.json +++ b/app/server/app/content/nces-2024.json @@ -526365,7 +526365,7 @@ "Longitude": "-64.944611" }, { - "NCES ID": "A999990", + "NCES ID": "A999999", "School District Name": "Morongo School", "Physical Address Line 1": "12130 Santiago Road", "Physical Address Line 2": "", @@ -526633,32 +526633,5 @@ "County Number ": "Not in ELSI", "Latitude": "Not in ELSI", "Longitude": "Not in ELSI" - }, - { - "NCES ID": "A999999", - "School District Name": "", - "Physical Address Line 1": "", - "Physical Address Line 2": "", - "Physical Address Line 3": "", - "Physical Address City": "", - "Physical Address State": "", - "Physical Address Zip": "00nan", - "LEA Charter Status": "", - "Agency Type": "", - "Locale Code": "", - "Percent of Students in Poverty": "", - "Is Prioritized": "", - "Prioritized for Poverty >20%": "", - "Prioritized for Rural 43": "", - "Prioritized for Impact Aid": "", - "Prioritized for BIE": "", - "Prioritized Tribal (Impact and BIE)": "", - "Self-Certify (Large Number of Students and/or Number of Schools": "", - "Self-Certify Large Number of Student": "", - "Self-Certify Large Number of Schools": "", - "County Name": "", - "County Number ": "", - "Latitude": "", - "Longitude": "" } ]