Trying to trigger delete on correct branch
authorDavid Négrier <d.negrier@thecodingmachine.com>
Wed, 27 May 2020 21:20:12 +0000 (23:20 +0200)
committerDavid Négrier <d.negrier@thecodingmachine.com>
Wed, 27 May 2020 21:20:12 +0000 (23:20 +0200)
.github/workflows/cleanup.yml

index 919d685af47a000a0452763c35c75bd3abde8d83..bb6bcc89488006c9919c835ade85bebd0862ccf0 100644 (file)
@@ -21,4 +21,6 @@ jobs:
         env:
           KUBE_CONFIG_FILE: ${{ secrets.KUBE_CONFIG_FILE }}
         with:
-          namespace: workadventure-${{ env.GITHUB_REF_SLUG }}
+# FIXME: we are not using ${{ env.GITHUB_REF_SLUG }} that resolves to master BUT! we are not using a slugified namespace
+# so complex namespace names will not be treated correctly
+          namespace: workadventure-${{ github.event.ref }}