Fixing action
authorDavid Négrier <d.negrier@thecodingmachine.com>
Mon, 13 Apr 2020 13:45:35 +0000 (15:45 +0200)
committerDavid Négrier <d.negrier@thecodingmachine.com>
Mon, 13 Apr 2020 16:44:12 +0000 (18:44 +0200)
.github/workflows/build-and-deploy.yml
deeployer.libsonnet

index 7c5ca6647a7af6fd16f85123606343130a39ccb3..297c84055ad4d0f414da2b7b4806de6c084f4d73 100644 (file)
@@ -67,4 +67,4 @@ jobs:
         env:
           KUBE_CONFIG_FILE: ${{ secrets.KUBE_CONFIG_FILE }}
         with:
-          namespace: workadventure-${{GITHUB_REF_SLUG}}
+          namespace: workadventure-${{ env.GITHUB_REF_SLUG }}
index 599012c42bde904b20b7cf703b90e9a68563e007..4e44db34169c0cc0762b2f45efdef2ed87b67773 100644 (file)
@@ -1,6 +1,5 @@
 {
   local env = std.extVar("env"),
-  # FIXME: namespace does not work if the branch contains a "/"
   local namespace = env.GITHUB_REF_SLUG,
   local tag = if namespace == "master" then "latest" else namespace,
   "$schema": "https://raw.githubusercontent.com/thecodingmachine/deeployer/master/deeployer.schema.json",