diff --git a/.github/workflows/hypermod.yml b/.github/workflows/hypermod.yml new file mode 100644 index 0000000000..f91a0d82ef --- /dev/null +++ b/.github/workflows/hypermod.yml @@ -0,0 +1,22 @@ +name: Hypermod + +on: + workflow_dispatch: + inputs: + deploymentId: + description: "The deployment ID contianing instructions to apply on a repository" + deploymentKey: + description: "The deployment key to authenticate the request" +jobs: + receive_hypermod_event: + permissions: write-all + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Run Hypermod CLI + uses: hypermod-io/action@v1 + with: + deploymentId: ${{ inputs.deploymentId }} + deploymentKey: ${{ inputs.deploymentKey }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file