mirror of
https://github.com/ghndrx/k8s-game-2048.git
synced 2026-02-10 06:45:07 +00:00
fix: trigger staging deploy on push to staging and after auto-promotion
This commit is contained in:
6
.github/workflows/deploy-staging.yml
vendored
6
.github/workflows/deploy-staging.yml
vendored
@@ -1,6 +1,8 @@
|
|||||||
name: Deploy to Staging
|
name: Deploy to Staging
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ staging ]
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
image_tag:
|
image_tag:
|
||||||
@@ -8,10 +10,10 @@ on:
|
|||||||
required: false
|
required: false
|
||||||
default: 'latest'
|
default: 'latest'
|
||||||
workflow_run:
|
workflow_run:
|
||||||
workflows: ["Deploy to Development"]
|
workflows: ["Auto-Promote Pipeline"]
|
||||||
types:
|
types:
|
||||||
- completed
|
- completed
|
||||||
branches: [ main, master ]
|
branches: [ staging ]
|
||||||
|
|
||||||
env:
|
env:
|
||||||
REGISTRY: ghcr.io
|
REGISTRY: ghcr.io
|
||||||
|
|||||||
Reference in New Issue
Block a user