diff --git a/.github/workflows/deploy-release.yml b/.github/workflows/deploy-release.yml index 551b417c58..9cd9f3363f 100644 --- a/.github/workflows/deploy-release.yml +++ b/.github/workflows/deploy-release.yml @@ -69,15 +69,10 @@ jobs: env: KUBECONFIG_FILE: '${{ secrets.RELEASE_KUBECONFIG }}' - - name: Set the base64 kubeconfig - run: | - base64_kubeconfig=$(echo ${{ secrets.RELEASE_KUBECONFIG }} | base64) - echo "RELEASE_KUBECONFIG=$base64_kubeconfig" >> $GITHUB_ENV - - name: Re roll the services uses: actions-hub/kubectl@master env: - KUBE_CONFIG: ${{ env.RELEASE_KUBECONFIG }} + KUBE_CONFIG: ${{ secrets.RELEASE_KUBECONFIG_BASE64 }} with: args: rollout restart deployment proxy-service -n budibase && kubectl rollout restart deployment app-service -n budibase && kubectl rollout restart deployment worker-service -n budibase diff --git a/.github/workflows/release-develop.yml b/.github/workflows/release-develop.yml index 69d3b1410a..4497870086 100644 --- a/.github/workflows/release-develop.yml +++ b/.github/workflows/release-develop.yml @@ -121,15 +121,10 @@ jobs: env: KUBECONFIG_FILE: '${{ secrets.RELEASE_KUBECONFIG }}' - - name: Set the base64 kubeconfig - run: | - base64_kubeconfig=$(echo ${{ secrets.RELEASE_KUBECONFIG }} | base64) - echo "RELEASE_KUBECONFIG=$base64_kubeconfig" >> $GITHUB_ENV - - name: Re roll the services uses: actions-hub/kubectl@master env: - KUBE_CONFIG: ${{ env.RELEASE_KUBECONFIG }} + KUBE_CONFIG: ${{ secrets.RELEASE_KUBECONFIG_BASE64 }} with: args: rollout restart deployment proxy-service -n budibase && kubectl rollout restart deployment app-service -n budibase && kubectl rollout restart deployment worker-service -n budibase