ci: add environment: staging gate to deploy job
Some checks failed
CD / Lint / Test / Vet (push) Failing after 2s
CD / Build & Import (push) Has been skipped
CD / Deploy via GitOps (push) Has been skipped

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:
Mathias Bergqvist
2026-05-07 21:52:40 +02:00
parent 923689afa5
commit d8db786e27

View File

@@ -95,6 +95,7 @@ jobs:
needs: build needs: build
runs-on: self-hosted runs-on: self-hosted
if: github.ref == 'refs/heads/main' && github.event_name == 'push' if: github.ref == 'refs/heads/main' && github.event_name == 'push'
environment: staging
steps: steps:
- name: Update image tag in infra repo - name: Update image tag in infra repo
env: env: