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 11
  • Loading branch information
Xavier Metichecchia authored and Xavier Metichecchia committed Oct 7, 2024
1 parent 7a4bf6f commit b1446db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ jobs:
- 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/life-event/$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: |
Expand Down

0 comments on commit b1446db

Please sign in to comment.