diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index d5502c4..549bcbb 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -46,6 +46,14 @@ pipelines: - cd terraform/ - terraform init - terraform plan + - step: + name: Deploy K8s apps (argocd) + deployment: staging + script: + - pipe: atlassian/kubectl-run:1.1.2 + variables: + KUBE_CONFIG: $KUBE_CONFIG_STG + KUBECTL_COMMAND: '-n argocd apply -k k8s/argocd/overlays/staging' - step: name: Push images image: google/cloud-sdk:alpine