Merge pull request #914 from GSA/api-658_update_template_during_deploy

If the templates.json file changes, update it.
This commit is contained in:
Carlo Costino
2024-04-11 09:34:57 -04:00
committed by GitHub
2 changed files with 11 additions and 1 deletions

View File

@@ -79,6 +79,16 @@ jobs:
--var NOTIFY_E2E_TEST_PASSWORD="$NOTIFY_E2E_TEST_PASSWORD"
--var LOGIN_DOT_GOV_REGISTRATION_URL="$LOGIN_DOT_GOV_REGISTRATION_URL"
- name: Check for changes to templates.json
id: changed-templates
uses: tj-actions/changed-files@v41
with:
files: |
app/config_files/templates.json
- name: Update templates
if: steps.changed-templates.outputs.any_changed == 'true'
run: cf run-task notify-api-staging --command "flask command update-templates"
- name: Check for changes to egress config
id: changed-egress-config
uses: tj-actions/changed-files@v41

View File

@@ -34,7 +34,7 @@
"name": "Notify SMS verify code",
"type": "sms",
"subject": "",
"content": ["((verify_code)) is your Notify.gov authentication code"]
"content": ["((verify_code)) is your Notify.gov authentication code."]
},
{
"id": "474e9242-823b-4f99-813d-ed392e7f1201",