Skip to content

Commit 4710699

Browse files
authored
Update nightly-cleanup.yml
1 parent 882ed7e commit 4710699

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/nightly-cleanup.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,12 @@ jobs:
6464
- name: Delete clusters if control node not tagged with keep
6565
run: |
6666
. venv/bin/activate
67-
if [[ -z "${CI_CLUSTERS}" ]]; then
67+
if [[ -z "${{ env.ci_clusters }}" ]]; then
6868
echo "No clusters to delete."
6969
exit 0
7070
fi
7171
72-
for cluster_prefix in ${CI_CLUSTERS}
72+
for cluster_prefix in ${{ env.ci_clusters }}
7373
do
7474
TAGS=$(openstack server show ${cluster_prefix}-control --column tags --format value)
7575
if [[ $TAGS =~ "keep" ]]; then

0 commit comments

Comments
 (0)