Setting Kube config in deeployer
authorDavid Négrier <d.negrier@thecodingmachine.com>
Thu, 9 Apr 2020 12:21:43 +0000 (14:21 +0200)
committerDavid Négrier <d.negrier@thecodingmachine.com>
Thu, 9 Apr 2020 12:21:43 +0000 (14:21 +0200)
.github/workflows/build-and-deploy.yml

index c44607c45c657cb2105debb841801aa467ea709c..5f6cd58240660977aff0cc271a714f77f149113e 100644 (file)
@@ -64,5 +64,8 @@ jobs:
 
       - name: Deploy
         uses: thecodingmachine/deeployer@master
+        env:
+          KUBE_CONFIG_FILE: ${{ secrets.KUBE_CONFIG_FILE }}
+          AUTOCONNECT: 1
         with:
           namespace: workadventure-${GITHUB_REF#refs/heads/}