From 08b0257e1c6960d8b2d717254a05d0067779b188 Mon Sep 17 00:00:00 2001 From: Moh Atia <48361663+m-atia@users.noreply.github.com> Date: Wed, 6 Sep 2023 14:29:30 -0400 Subject: [PATCH 1/3] Update README.md [skip ci] --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0f442cf8..0787c52b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# phila.gov router [![Build Status](https://travis-ci.org/CityOfPhiladelphia/phila.gov-router.svg?branch=master)](https://travis-ci.org/CityOfPhiladelphia/phila.gov-router) +# phila.gov router Lambda@Edge function for handling redirects and rewrites ## usage @@ -53,12 +53,12 @@ Rewrite `/contracts/data` to mask a site on github pages (note the redirect for - You can use [tsv-pretty](https://ebay.github.io/tsv-utils-dlang/#tsv-pretty) to format the file to be more readable. ## deployment -Deployment will happen automatically via [Travis CI](https://travis-ci.org/CityOfPhiladelphia/phila.gov-router) based on the configuration in [.travis.yml](.travis.yml) (assuming tests pass): +Deployment will happen automatically via github actions - Pushes to the `staging` branch will deploy to the **staging** environment. -- Pushes to the `master` branch will deploy to the **production** environment. +- Pushes to the `main` branch will deploy to the **production** environment. -You can skip deployment on a push by specifying `[no ci]` in the commit message. +You can skip deployment on a push by specifying `[skip ci]` in the commit message. ## local development From 03898060992f4cd61f4744d0bbefbb05363a82f5 Mon Sep 17 00:00:00 2001 From: Moh Atia Date: Wed, 6 Sep 2023 16:54:42 -0400 Subject: [PATCH 2/3] fix job specs --- rules.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rules.txt b/rules.txt index 19931ede..d9c141ab 100644 --- a/rules.txt +++ b/rules.txt @@ -246,7 +246,9 @@ /departments/office-of-human-resources/jobs/job-class-specifications(.*) 301 /departments/office-of-human-resources/careers/job-class-specifications/ /departments/office-of-human-resources/jobs/residency-waivers(.*) 301 /departments/office-of-human-resources/careers/residency-waivers/ /departments/office-of-human-resources/jobs/pay-ranges(.*) 301 /departments/office-of-human-resources/careers/pay-ranges/ -/departments/office-of-human-resources/job-specs(.*) 301 /departments/office-of-human-resources/careers/job-class-specifications/ +departments/office-of-human-resources/job-specs/ 301 /departments/office-of-human-resources/careers/job-class-specifications/ +/departments/office-of-human-resources/job-specs/index.html 301 /departments/office-of-human-resources/careers/job-class-specifications/ +/departments/office-of-human-resources/job-specs/pay.htm 301 /departments/office-of-human-resources/careers/job-class-specifications/ /departments/mayors-office-of-labor/(.*) 301 /departments/department-of-labor/$1 /departments/mayors-office-of-public-engagement/mayors-commission-on-asian-american-affairs/(.*) 301 /departments/office-of-immigrant-affairs/mayors-commission-on-asian-american-affairs/$1 /departments/mayors-office-of-reintegration-services/ 301 /departments/office-of-reentry-partnerships/ From dca3d7d2c765a3c6e095400e2d0551298b55d924 Mon Sep 17 00:00:00 2001 From: Moh Atia Date: Wed, 6 Sep 2023 16:55:53 -0400 Subject: [PATCH 3/3] fix job specs --- rules.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules.txt b/rules.txt index d9c141ab..d51e37bb 100644 --- a/rules.txt +++ b/rules.txt @@ -246,7 +246,7 @@ /departments/office-of-human-resources/jobs/job-class-specifications(.*) 301 /departments/office-of-human-resources/careers/job-class-specifications/ /departments/office-of-human-resources/jobs/residency-waivers(.*) 301 /departments/office-of-human-resources/careers/residency-waivers/ /departments/office-of-human-resources/jobs/pay-ranges(.*) 301 /departments/office-of-human-resources/careers/pay-ranges/ -departments/office-of-human-resources/job-specs/ 301 /departments/office-of-human-resources/careers/job-class-specifications/ +/departments/office-of-human-resources/job-specs/ 301 /departments/office-of-human-resources/careers/job-class-specifications/ /departments/office-of-human-resources/job-specs/index.html 301 /departments/office-of-human-resources/careers/job-class-specifications/ /departments/office-of-human-resources/job-specs/pay.htm 301 /departments/office-of-human-resources/careers/job-class-specifications/ /departments/mayors-office-of-labor/(.*) 301 /departments/department-of-labor/$1