diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 76e6dc1..f3bd5d7 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -19,6 +19,6 @@ jobs: AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_DEFAULT_REGION: us-east-1 run: | - aws s3 sync regulations "s3://prod-phila-gov-website-s3/departments/mayor/legislative-affairs-documents/" - aws s3 sync regulations_json "s3://prod-phila-gov-website-s3/departments/mayor/legislative-affairs-json/" --delete + aws s3 sync legislativeaffairs "s3://prod-phila-gov-website-s3/departments/mayor/legislative-affairs-documents/" + aws s3 sync legislativeaffairs_json "s3://prod-phila-gov-website-s3/departments/mayor/legislative-affairs-json/" --delete aws cloudfront create-invalidation --distribution-id ${{ secrets.CF_INVALIDATE_PROD }} --paths "/*" diff --git a/make-json.py b/make-json.py index 156d6a6..6d65f97 100644 --- a/make-json.py +++ b/make-json.py @@ -2,7 +2,7 @@ import json # Read the Excel file -df = pd.read_excel('regulations.xlsx') +df = pd.read_excel('legislativeaffairs.xlsx') # Convert the DataFrame to JSON json_data = df.to_json(orient='index') diff --git a/regulations/.6.086---22-02..pdf b/regulations/.6.086---22-02..pdf deleted file mode 100644 index 6276ac7..0000000 Binary files a/regulations/.6.086---22-02..pdf and /dev/null differ diff --git a/regulations/.regulation-packet-chapter-2---205.2---signed..pdf b/regulations/.regulation-packet-chapter-2---205.2---signed..pdf deleted file mode 100644 index ae8879e..0000000 Binary files a/regulations/.regulation-packet-chapter-2---205.2---signed..pdf and /dev/null differ diff --git a/regulations/_regulation-packet-chapter-2---205.2---signed.pdf b/regulations/_regulation-packet-chapter-2---205.2---signed.pdf deleted file mode 100644 index ae8879e..0000000 Binary files a/regulations/_regulation-packet-chapter-2---205.2---signed.pdf and /dev/null differ