Merge pull request #306 from thecodingmachine/gettags

Adding ADMIN_API_TOKEN to deployment
This commit is contained in:
David Négrier
2020-10-14 13:18:52 +02:00
committed by GitHub
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -120,6 +120,7 @@ jobs:
uses: thecodingmachine/deeployer@master uses: thecodingmachine/deeployer@master
env: env:
KUBE_CONFIG_FILE: ${{ secrets.KUBE_CONFIG_FILE }} KUBE_CONFIG_FILE: ${{ secrets.KUBE_CONFIG_FILE }}
ADMIN_API_TOKEN: ${{ secrets.ADMIN_API_TOKEN }}
with: with:
namespace: workadventure-${{ env.GITHUB_REF_SLUG }} namespace: workadventure-${{ env.GITHUB_REF_SLUG }}
+3 -1
View File
@@ -14,7 +14,9 @@
}, },
"ports": [8080], "ports": [8080],
"env": { "env": {
"SECRET_KEY": "tempSecretKeyNeedsToChange" "SECRET_KEY": "tempSecretKeyNeedsToChange",
"ADMIN_API_TOKEN": env.ADMIN_API_TOKEN,
"ADMIN_API_URL": "https://admin."+url
} }
}, },
"front": { "front": {