Fixing action
This commit is contained in:
parent
0ba6941cd2
commit
efccdcbb06
2
.github/workflows/build-and-deploy.yml
vendored
2
.github/workflows/build-and-deploy.yml
vendored
@ -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 }}
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user