From a009ae86f02541ff29924dbb2c816d7bf37f27a9 Mon Sep 17 00:00:00 2001 From: "Dr. Alwin Simon" <003alwin@gmail.com> Date: Thu, 2 Nov 2023 20:29:04 +0530 Subject: [PATCH] Modified order of command execution. --- .github/workflows/CD - Deploy - Manifests.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/CD - Deploy - Manifests.yml b/.github/workflows/CD - Deploy - Manifests.yml index 217db34..389d8f4 100644 --- a/.github/workflows/CD - Deploy - Manifests.yml +++ b/.github/workflows/CD - Deploy - Manifests.yml @@ -19,4 +19,6 @@ jobs: with: token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }} - run: doctl kubernetes cluster kubeconfig save ${{ secrets.DIGITALOCEAN_CLUSTER_ID }} - - run: kubectl apply -f infra/ingress-nginx/prod && kubectl apply -f infra/statefull && kubectl apply -f infra/stateless + - run: kubectl apply -f infra/statefull + - run: kubectl apply -f infra/stateless + - run: kubectl apply -f infra/ingress-nginx/prod