2023-08-24 16:51:46 +02:00
|
|
|
name: deploy-featurebranch
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
branches:
|
2023-10-06 13:02:17 +02:00
|
|
|
- master
|
2023-08-24 16:51:46 +02:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
release:
|
2023-11-20 10:07:33 +01:00
|
|
|
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'Budibase/budibase'
|
2023-08-24 16:51:46 +02:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: passeidireto/trigger-external-workflow-action@main
|
|
|
|
env:
|
2023-09-25 18:00:00 +02:00
|
|
|
PAYLOAD_BRANCH: ${{ github.head_ref }}
|
2023-10-11 11:12:14 +02:00
|
|
|
PAYLOAD_PR_NUMBER: ${{ github.event.pull_request.number }}
|
2023-08-24 16:51:46 +02:00
|
|
|
with:
|
|
|
|
repository: budibase/budibase-deploys
|
|
|
|
event: featurebranch-qa-deploy
|
|
|
|
github_pat: ${{ secrets.GH_ACCESS_TOKEN }}
|