Skip to content

Commit

Permalink
Revert "Revert self host plugin on deploy (just in case we are rollin…
Browse files Browse the repository at this point in the history
…g back from a v2.18+ self host"

This reverts commit b3e2172.
  • Loading branch information
stephenhand committed Oct 31, 2024
1 parent abd6e73 commit 63a5a66
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/flex-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,16 +96,7 @@ 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
- if: env.SELF_HOSTED_DEPLOY != 'true'
name: Executing main-action
Expand Down

0 comments on commit 63a5a66

Please sign in to comment.