mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 15:44:21 +02:00
fix(ci): fix environment parsing (#4160)
This commit is contained in:
parent
d16428761c
commit
9cfd1ca8c4
6
.github/workflows/get-environment.yml
vendored
6
.github/workflows/get-environment.yml
vendored
@ -22,6 +22,12 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- id: get_environment
|
- id: get_environment
|
||||||
run: |
|
run: |
|
||||||
|
if [[ -z "$GITHUB_HEAD_REF" ]]; then
|
||||||
|
BRANCHNAME="$GITHUB_REF_NAME"
|
||||||
|
else
|
||||||
|
BRANCHNAME="$GITHUB_HEAD_REF"
|
||||||
|
fi
|
||||||
|
|
||||||
case "$BRANCHNAME" in
|
case "$BRANCHNAME" in
|
||||||
develop)
|
develop)
|
||||||
STABILITY="unstable"
|
STABILITY="unstable"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user