Fix payloads
This commit is contained in:
parent
0fe98f4f29
commit
e0bf0f6891
|
@ -11,10 +11,12 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: peter-evans/repository-dispatch@v2
|
- uses: peter-evans/repository-dispatch@v2
|
||||||
env:
|
|
||||||
PAYLOAD_VERSION: ${{ github.sha }}
|
|
||||||
REF_NAME: ${{ github.ref_name}}
|
|
||||||
with:
|
with:
|
||||||
repository: budibase/budibase-deploys
|
repository: budibase/budibase-deploys
|
||||||
event-type: budicloud-qa-deploy
|
event-type: budicloud-qa-deploy
|
||||||
token: ${{ secrets.GH_ACCESS_TOKEN }}
|
token: ${{ secrets.GH_ACCESS_TOKEN }}
|
||||||
|
client-payload: |-
|
||||||
|
{
|
||||||
|
"PAYLOAD_VERSION": "${{ github.sha }}",
|
||||||
|
"REF_NAME": "${{ github.ref_name}}"
|
||||||
|
}
|
||||||
|
|
|
@ -171,11 +171,13 @@ jobs:
|
||||||
release_version=$(cat lerna.json | jq -r '.version')
|
release_version=$(cat lerna.json | jq -r '.version')
|
||||||
echo "RELEASE_VERSION=$release_version" >> $GITHUB_ENV
|
echo "RELEASE_VERSION=$release_version" >> $GITHUB_ENV
|
||||||
|
|
||||||
- uses: passeidireto/trigger-external-workflow-action@main
|
- uses: peter-evans/repository-dispatch@v2
|
||||||
env:
|
|
||||||
PAYLOAD_VERSION: ${{ env.RELEASE_VERSION }}
|
|
||||||
REF_NAME: ${{ github.ref_name}}
|
|
||||||
with:
|
with:
|
||||||
repository: budibase/budibase-deploys
|
repository: budibase/budibase-deploys
|
||||||
event: budicloud-qa-deploy
|
event: budicloud-qa-deploy
|
||||||
github_pat: ${{ secrets.GH_ACCESS_TOKEN }}
|
github_pat: ${{ secrets.GH_ACCESS_TOKEN }}
|
||||||
|
client-payload: |-
|
||||||
|
{
|
||||||
|
"PAYLOAD_VERSION": "${{ github.sha }}",
|
||||||
|
"REF_NAME": "${{ github.ref_name}}"
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue