ci: add environment: staging gate to deploy job
Aligns with cobalt-dingo reference — the deploy job was missing the Gitea Actions environment protection so staging approvals/secrets were not enforced.
This commit is contained in:
@@ -95,6 +95,7 @@ jobs:
|
||||
needs: build
|
||||
runs-on: self-hosted
|
||||
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
|
||||
environment: staging
|
||||
steps:
|
||||
- name: Update image tag in infra repo
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user