Skip to content

Commit

Permalink
adding new variables (#713)
Browse files Browse the repository at this point in the history
  • Loading branch information
janorivera authored Oct 25, 2024
1 parent 7771cb2 commit 28ce056
Showing 1 changed file with 18 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,17 @@ runs:
with:
ssm_parameter: "/production/twilio/${{inputs.account-sid}}/modica_flex_flow_sid"
env_variable_name: "MODICA_FLEX_FLOW_SID"

- name: Set Modica Studio Flow Sid
uses: "marvinpinto/action-inject-ssm-secrets@latest"
with:
ssm_parameter: "/production/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: "/production/modica/${{inputs.account-sid}}/messaging_mode"
env_variable_name: "MODICA_TWILIO_MESSAGING_MODE"

# Append environment variables
- name: Add MODICA_APP_NAME
run: echo "MODICA_APP_NAME=${{ env.MODICA_APP_NAME }}" >> .env
Expand All @@ -48,4 +58,10 @@ runs:
shell: bash
- name: Add MODICA_FLEX_FLOW_SID
run: echo "MODICA_FLEX_FLOW_SID=${{ env.MODICA_FLEX_FLOW_SID }}" >> .env
shell: bash
shell: bash
- 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

0 comments on commit 28ce056

Please sign in to comment.