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 8, 2024
1 parent 37938f7 commit 8bfc167
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,10 @@ jobs:
git submodule update
cd usagov-2021
git checkout prod
- name:
run: |
sed -i '/# Rewrites for requests for Host: benefits-tool.usa.gov/ a\ rewrite ^/benefit-finder/([^/]+)/[^/]+$ /benefit-finder/$1 permanent;\n rewrite ^/espanol/benefit-finder/([^/]+)/[^/]+$ /espanol/benefit-finder/$1 permanent;' ./usagov-2021/.docker/src-waf/etc/nginx/snippets/domain-rewrites-benefits-tool.conf
cat ./usagov-2021/.docker/src-waf/etc/nginx/snippets/domain-rewrites-benefits-tool.conf
- name: Merge files into module
run: |
bash ./scripts/pipeline/mv-benefit-finder-app.sh
Expand Down

0 comments on commit 8bfc167

Please sign in to comment.