2023-10-20 10:34:38 +02:00
|
|
|
name: Deploy QA
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2023-10-20 10:42:45 +02:00
|
|
|
- master
|
2023-10-20 10:34:38 +02:00
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
trigger-deploy-to-qa-env:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-10-20 10:37:22 +02:00
|
|
|
- uses: peter-evans/repository-dispatch@v2
|
2023-10-20 10:34:38 +02:00
|
|
|
with:
|
|
|
|
repository: budibase/budibase-deploys
|
2023-10-20 12:38:52 +02:00
|
|
|
event-type: budicloud-qa-deploy
|
2023-10-20 10:37:22 +02:00
|
|
|
token: ${{ secrets.GH_ACCESS_TOKEN }}
|
2023-11-02 11:52:18 +01:00
|
|
|
client-payload: |-
|
|
|
|
{
|
|
|
|
"PAYLOAD_VERSION": "${{ github.sha }}",
|
|
|
|
"REF_NAME": "${{ github.ref_name}}"
|
|
|
|
}
|