Fix workflow preview environment repository dispatch (#11739)
This is hard to test without merging PRs unfortunately Goal of this PR is to replace the action I had introduced since there was already a similar one in the codebase
This commit is contained in:
7
.github/workflows/preview-env-dispatch.yaml
vendored
7
.github/workflows/preview-env-dispatch.yaml
vendored
@ -27,8 +27,9 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Trigger preview environment workflow
|
||||
uses: benc-uk/workflow-dispatch@v1
|
||||
uses: peter-evans/repository-dispatch@v2
|
||||
with:
|
||||
workflow: preview-env-keepalive.yaml
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
inputs: '{"pr_number": "${{ github.event.pull_request.number }}", "pr_head_sha": "${{ github.event.pull_request.head.sha }}", "repo_full_name": "${{ github.repository }}"}'
|
||||
repository: ${{ github.repository }}
|
||||
event-type: preview-environment
|
||||
client-payload: '{"pr_number": "${{ github.event.pull_request.number }}", "pr_head_sha": "${{ github.event.pull_request.head.sha }}", "repo_full_name": "${{ github.repository }}"}'
|
||||
Reference in New Issue
Block a user