Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NZ STG: Modica Conversations migration #699

Merged
merged 1 commit into from
Oct 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 13 additions & 5 deletions .github/actions/custom-actions/youthline_staging_custom/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,16 @@ runs:
with:
ssm_parameter: "/staging/modica/${{inputs.account-sid}}/app_password"
env_variable_name: "MODICA_APP_PASSWORD"
- name: Set Modica Flex Flow Sid
- name: Set Modica Studio Flow Sid
uses: "marvinpinto/action-inject-ssm-secrets@latest"
with:
ssm_parameter: "/staging/twilio/${{inputs.account-sid}}/modica_flex_flow_sid"
env_variable_name: "MODICA_FLEX_FLOW_SID"
ssm_parameter: "/staging/twilio/${{inputs.account-sid}}/modica_studio_flow_sid"
env_variable_name: "MODICA_STUDIO_FLOW_SID"
- name: Set helpline Modica Flex Messaging Mode (Programmable Chat or Conversations)
uses: "marvinpinto/action-inject-ssm-secrets@latest"
with:
ssm_parameter: "/staging/modica/${{inputs.account-sid}}/messaging_mode"
env_variable_name: "MODICA_TWILIO_MESSAGING_MODE"

# Append environment variables
- name: Add MODICA_APP_NAME
Expand All @@ -46,6 +51,9 @@ runs:
- name: Add MODICA_APP_PASSWORD
run: echo "MODICA_APP_PASSWORD=${{ env.MODICA_APP_PASSWORD }}" >> .env
shell: bash
- name: Add MODICA_FLEX_FLOW_SID
run: echo "MODICA_FLEX_FLOW_SID=${{ env.MODICA_FLEX_FLOW_SID }}" >> .env
- name: Add MODICA_STUDIO_FLOW_SID
run: echo "MODICA_STUDIO_FLOW_SID=${{ env.MODICA_STUDIO_FLOW_SID }}" >> .env
shell: bash
- name: Add MODICA_TWILIO_MESSAGING_MODE
run: echo "MODICA_TWILIO_MESSAGING_MODE=${{ env.MODICA_TWILIO_MESSAGING_MODE }}" >> .env
shell: bash