2023-10-20 10:34:38 +02:00
|
|
|
name: Deploy QA
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2024-11-05 14:14:01 +01:00
|
|
|
- feature/automation-branching-ux
|
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: |-
|
|
|
|
{
|
2023-11-03 10:20:26 +01:00
|
|
|
"VERSION": "${{ github.sha }}",
|
2023-11-02 11:52:18 +01:00
|
|
|
"REF_NAME": "${{ github.ref_name}}"
|
|
|
|
}
|