From 917ab967235ab96c37202cc1c67eacd9cf576ff4 Mon Sep 17 00:00:00 2001 From: rjshrjndrn Date: Mon, 27 Jun 2022 14:00:23 +0200 Subject: [PATCH] ci(fix): kubeconfig path Signed-off-by: rjshrjndrn --- .github/workflows/frontend.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/frontend.yaml b/.github/workflows/frontend.yaml index 984365d53..8a70d45e6 100644 --- a/.github/workflows/frontend.yaml +++ b/.github/workflows/frontend.yaml @@ -44,6 +44,7 @@ jobs: IMAGE_TAG: ${{ github.sha }} ENVIRONMENT: staging run: | + set -x cd frontend mv .env.sample .env docker run --rm -v /etc/passwd:/etc/passwd -u `id -u`:`id -g` -v $(pwd):/home/${USER} -w /home/${USER} --name node_build node:14-stretch-slim /bin/bash -c "yarn && yarn build" @@ -55,6 +56,7 @@ jobs: - name: Creating old image input run: | + set -x # # Create yaml with existing image tags # @@ -100,7 +102,7 @@ jobs: - uses: actions-hub/kubectl@master env: - KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }} + KUBE_CONFIG: ${{ secrets.EE_KUBECONFIG }} # Use content of kubeconfig in secret.${{ secrets.KUBE_CONFIG }} with: args: get pods