Skip to content

Commit

Permalink
Merge pull request #2575 from techmatters/CHI-3055-undo_self_host
Browse files Browse the repository at this point in the history
Revert self host plugin on deploy.
  • Loading branch information
stephenhand authored Oct 24, 2024
2 parents 4cd5827 + b3e2172 commit 35ff3d2
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/flex-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,16 @@ jobs:
with:
ssm_parameter: "/${{env.ENVIRONMENT_NAME}}/twilio/${{env.TWILIO_ACCOUNT_SID}}/auth_token"
env_variable_name: "TWILIO_AUTH_TOKEN"

- name: Configure Account to use Twilio Hosted Plugin
shell: bash
run: |
curl --location 'https://flex-api.twilio.com/v1/Configuration' \
--header 'Content-Type: application/json' \
-u '${{env.TWILIO_ACCOUNT_SID}}:${{env.TWILIO_AUTH_TOKEN}}' \
--data '{
"account_sid": "${{env.TWILIO_ACCOUNT_SID}}",
"plugin_service_attributes":null
}'
# Call main-action to compile and deploy secrets.AS_DEV_ACCOUNT_SID
- name: Executing main-action
uses: ./.github/actions/main-action
Expand Down

0 comments on commit 35ff3d2

Please sign in to comment.