Added CI step to trigger canary build
refs 84bfbae282
- if Admin is pushed to after Ghost, the canary build won't contain
Admin changes, so we need to trigger another canary build
- this commit adds a final step to the CI flow that will trigger the
Ghost canary build if all steps were successful
This commit is contained in:
parent
625581be73
commit
0a88346261
|
@ -72,3 +72,16 @@ jobs:
|
|||
status: ${{ job.status }}
|
||||
env:
|
||||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
||||
|
||||
canary:
|
||||
runs-on: ubuntu-18.04
|
||||
needs: [lint, test, prod-build]
|
||||
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
||||
name: Canary
|
||||
steps:
|
||||
- name: Invoke Canary Build
|
||||
uses: benc-uk/workflow-dispatch@v1
|
||||
with:
|
||||
workflow: Canary Build
|
||||
repo: TryGhost/Ghost
|
||||
token: ${{ secrets.WORKFLOW_TOKEN }}
|
||||
|
|
Loading…
Reference in New Issue