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

Revert self host plugin on deploy. #2575

Merged
merged 1 commit into from
Oct 24, 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
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
Loading