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
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ staging ]
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
image_tag:
|
||||
@@ -8,10 +10,10 @@ on:
|
||||
required: false
|
||||
default: 'latest'
|
||||
workflow_run:
|
||||
workflows: ["Deploy to Development"]
|
||||
workflows: ["Auto-Promote Pipeline"]
|
||||
types:
|
||||
- completed
|
||||
branches: [ main, master ]
|
||||
branches: [ staging ]
|
||||
|
||||
env:
|
||||
REGISTRY: ghcr.io
|
||||
|
||||
Reference in New Issue
Block a user