Skip to content

Commit

Permalink
PXBF-dev: Add step in deploy pipe to add lines to redirects in usagov…
Browse files Browse the repository at this point in the history
… submod 12
  • Loading branch information
Xavier Metichecchia authored and Xavier Metichecchia committed Oct 7, 2024
1 parent b1446db commit 37938f7
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,6 @@ jobs:
git submodule update
cd usagov-2021
git checkout prod
- name: Add redirects to internal_redirects.conf
run: |
sed -i '/^[[:space:]]*rewrite[[:space:]]\^\/avisos-y-politicas-de-este-sitio\$/a \ rewrite ^/benefit-finder/([^/]+)/[^/]+$ /benefit-finder/$1 permanent;' ./usagov-2021/.docker/src-cms/etc/nginx/partials/internal_redirects.conf
sed -i '/^[[:space:]]*rewrite[[:space:]]\^\/espanol\/beneficios-familias-militares\$/a \ rewrite ^/espanol/benefit-finder/([^/]+)/[^/]+$ /espanol/benefit-finder/$1 permanent;' ./usagov-2021/.docker/src-cms/etc/nginx/partials/internal_redirects.conf
cat ./usagov-2021/.docker/src-cms/etc/nginx/partials/internal_redirects.conf
- name: Merge files into module
run: |
bash ./scripts/pipeline/mv-benefit-finder-app.sh
Expand Down

0 comments on commit 37938f7

Please sign in to comment.