Skip to content

Commit

Permalink
Seems like you need plugin source to disable a plugin on Twilio for s…
Browse files Browse the repository at this point in the history
…ome reason
  • Loading branch information
stephenhand committed Oct 15, 2024
1 parent 248b628 commit cad4373
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/flex-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,9 @@ jobs:
# Install the Twilio CLI and the flex plugin, then disable the twilio hosted plugin
# These steps can be removed once Twilio hosted flex plugins are fully retired
- if: env.SELF_HOSTED_DEPLOY == 'true'
name: Install Twilio CLI
run: npm install twilio-cli@5.20.1 -g && twilio plugins:install @twilio-labs/plugin-flex@7.0.0
shell: bash
working-directory: ./plugin-hrm-form
# Ridiculous that we need top run from the plugin source with dependencies installed just to disable it on Twilio, but that seems to be the situation
- name: Install Flex Plugin
uses: ./.github/actions/install-flex-plugin
- if: env.SELF_HOSTED_DEPLOY == 'true'
name: Disable the Aselo plugin deployed to Twilio, if there is one.
run: twilio flex:plugins:release --disable-plugin=plugin-hrm-form -l debug || true
Expand Down

0 comments on commit cad4373

Please sign in to comment.