diff options
author | 2020-11-19 01:26:19 +0100 | |
---|---|---|
committer | 2020-11-19 01:26:19 +0100 | |
commit | 0899344d061d5523546b85295366a19b68c04b4c (patch) | |
tree | 0f02537c4d6dd5fce86a8940b2c59d4d7e300e99 | |
parent | Add Kubernetes auto-deploy to the CI build stage. (diff) |
Add production_build == 'true' condition on deploy.
-rw-r--r-- | .github/workflows/lint-test-build-push.yaml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/lint-test-build-push.yaml b/.github/workflows/lint-test-build-push.yaml index a18db4b..22f50d7 100644 --- a/.github/workflows/lint-test-build-push.yaml +++ b/.github/workflows/lint-test-build-push.yaml @@ -173,12 +173,14 @@ jobs: # Deploy to Kubernetes - name: Authenticate with Kubernetes + if: env.production_build == 'true' uses: azure/k8s-set-context@v1 with: method: kubeconfig kubeconfig: ${{ secrets.KUBECONFIG }} - name: Deploy to Kubernetes + if: env.production_build == 'true' uses: Azure/k8s-deploy@v1 with: manifests: | |