diff --git a/.github/workflows/deploy_testing_env.yml b/.github/workflows/deploy_testing_env.yml index 499288f23..1a7c75060 100644 --- a/.github/workflows/deploy_testing_env.yml +++ b/.github/workflows/deploy_testing_env.yml @@ -114,7 +114,7 @@ jobs: exec: helm install "${{ steps.extract-url.outputs.url }}" --create-namespace ./k8s/helm --wait --atomic --timeout 5m --namespace="${{ steps.extract-url.outputs.url }}" --values=./k8s/helm/values.yaml --set apidomain="${{ env.API_DOMAIN }}" --set uidomain="${{ env.UI_DOMAIN }}" --set privateKey=${{ secrets.ISSUER_NODE_TESTING_PRIVATE_KEY }} --set ingressEnabled="true" --set vaultpwd="foo" --set issuerUiInsecure=true --set issuerResolverFile="${{ secrets.ISSUER_NODE_TESTING_ISSUER_RESOLVER_FILE }}" --set issuernode_repository_image="${{ env.ISSUER_NODE_API_IMAGE }}" --set issuernode_repository_tag="${{ steps.version.outputs.VERSION }}" --set issuernode_ui_repository_image="${{ env.ISSUER_NODE_UI_IMAGE }}" --set issuernode_ui_repository_tag="${{ steps.version.outputs.VERSION }}" kubeconfig: "${{ secrets.KUBECONFIG }}" overrule_existing_kubeconfig: "true" - if: steps.helm_check.outputs.result == 'not_found' + if: steps.helm_check.outputs.result == 'not_found' && steps.extract-url.outputs.url != '' - name: "Update helm chart" uses: WyriHaximus/github-action-helm3@v3.0 @@ -122,4 +122,4 @@ jobs: exec: helm upgrade "${{ steps.extract-url.outputs.url }}" ./k8s/helm/ --wait --atomic --timeout 5m --namespace="${{ steps.extract-url.outputs.url }}" --values=./k8s/helm/values.yaml --set apidomain="${{ env.API_DOMAIN }}" --set uidomain="${{ env.UI_DOMAIN }}" --set privateKey=${{ secrets.ISSUER_NODE_TESTING_PRIVATE_KEY }} --set ingressEnabled="true" --set vaultpwd="foo" --set issuerUiInsecure=true --set issuerResolverFile="${{ secrets.ISSUER_NODE_TESTING_ISSUER_RESOLVER_FILE }}" --set issuernode_repository_image="${{ env.ISSUER_NODE_API_IMAGE }}" --set issuernode_repository_tag="${{ steps.version.outputs.VERSION }}" --set issuernode_ui_repository_image="${{ env.ISSUER_NODE_UI_IMAGE }}" --set issuernode_ui_repository_tag="${{ steps.version.outputs.VERSION }}" kubeconfig: "${{ secrets.KUBECONFIG }}" overrule_existing_kubeconfig: "true" - if: steps.helm_check.outputs.result != 'not_found' \ No newline at end of file + if: steps.helm_check.outputs.result != 'not_found' && steps.extract-url.outputs.url != '' \ No newline at end of file