new deploy condition #49

Merged
alex merged 2 commits from new_notify into main 2025-11-11 11:10:15 +00:00
Showing only changes of commit 8864f9585e - Show all commits

View File

@@ -24,7 +24,7 @@ on:
jobs:
deploy:
if: contains(format(',{0},', vars.ADMIN_USERS), format(',{0},', github.actor)) || inputs.environment=='stage'
if: ${{ contains(format(',{0},', vars.ADMIN_USERS), format(',{0},', github.actor)) || startsWith(inputs.environment, 'stage') }}
runs-on: ubuntu-latest
env:
CR_REGISTRY: crp8vh46gd976oq8ipla