Create hitl.yml

This commit is contained in:
Robert Jördens 2021-01-08 17:28:07 +01:00 committed by GitHub
parent a2fb4630b8
commit 72d69960ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 18 additions and 0 deletions

18
.github/workflows/hitl.yml vendored Normal file
View File

@ -0,0 +1,18 @@
name: HITL
on:
push:
branches: [ hitl ]
workflow_dispatch:
jobs:
cd:
runs-on: ubuntu-latest
environment: hitl
steps:
- uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.DISPATCH_PAT }}
event-type: hitl
repository: quartiq/hitl
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'