fix: staging deployment configuration and redis secrets handling

This commit is contained in:
2025-11-03 00:15:43 +01:00
parent ff572534e9
commit 7a2cb0b63e
12 changed files with 1027 additions and 388 deletions

View File

@@ -826,11 +826,9 @@ jobs:
# Job 3: Auto-deploy to Staging (only for staging branch)
deploy-staging:
name: Auto-deploy to Staging
needs: [changes, build, runtime-base]
needs: [changes, build]
if: |
(github.ref_name == 'staging' || github.head_ref == 'staging' || (github.ref_name == '' && contains(github.ref, 'staging'))) &&
(needs.build.result == 'success' || needs.build.result == 'skipped') &&
(needs.runtime-base.result == 'success' || needs.runtime-base.result == 'skipped')
github.ref_name == 'staging' || github.head_ref == 'staging' || (github.ref_name == '' && contains(github.ref, 'staging'))
runs-on: ubuntu-latest
environment:
name: staging