From c512599dfb34def7f101296d8595a81279a6fc51 Mon Sep 17 00:00:00 2001 From: Kipruto <43873157+kelvinkipruto@users.noreply.github.com> Date: Thu, 29 Feb 2024 11:49:05 +0300 Subject: [PATCH 1/4] Update DOKKU_REMOTE_URL to dev environment Signed-off-by: Kipruto <43873157+kelvinkipruto@users.noreply.github.com> --- .github/workflows/charterafrica-deploy-dev.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/charterafrica-deploy-dev.yml b/.github/workflows/charterafrica-deploy-dev.yml index d59d041dd..af966c741 100644 --- a/.github/workflows/charterafrica-deploy-dev.yml +++ b/.github/workflows/charterafrica-deploy-dev.yml @@ -2,7 +2,7 @@ name: charterAFRICA | Deploy | DEV on: push: - branches: [main] + branches: [ft/fix-charterafrica-dev-deployment] paths: - "apps/charterafrica/**" - "Dockerfile.charterafrica" @@ -13,7 +13,7 @@ concurrency: cancel-in-progress: true env: - DOKKU_REMOTE_URL: "ssh://dokku@ui-1.prod.codeforafrica.org/charterafrica" + DOKKU_REMOTE_URL: "ssh://dokku@ui-1.dev.codeforafrica.org/charterafrica" IMAGE_NAME: "codeforafrica/charterafrica-ui" NEXT_PUBLIC_APP_URL: "https://charterafrica.dev.codeforafrica.org" SENTRY_ENV: "development" From 1eb01b02801d5979482f97bd10e20289fb1c9972 Mon Sep 17 00:00:00 2001 From: Kipruto <43873157+kelvinkipruto@users.noreply.github.com> Date: Thu, 29 Feb 2024 11:52:59 +0300 Subject: [PATCH 2/4] Path update Signed-off-by: Kipruto <43873157+kelvinkipruto@users.noreply.github.com> --- .github/workflows/charterafrica-deploy-dev.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/charterafrica-deploy-dev.yml b/.github/workflows/charterafrica-deploy-dev.yml index af966c741..15865415a 100644 --- a/.github/workflows/charterafrica-deploy-dev.yml +++ b/.github/workflows/charterafrica-deploy-dev.yml @@ -6,6 +6,7 @@ on: paths: - "apps/charterafrica/**" - "Dockerfile.charterafrica" + - ".github/workflows/charterafrica-deploy-dev.yml" # This allows a subsequently queued workflow run to interrupt previous runs concurrency: From 22589edee0f469db63f24cf61f2b01b2922def06 Mon Sep 17 00:00:00 2001 From: Kipruto <43873157+kelvinkipruto@users.noreply.github.com> Date: Thu, 29 Feb 2024 12:01:17 +0300 Subject: [PATCH 3/4] Revert to main branch Signed-off-by: Kipruto <43873157+kelvinkipruto@users.noreply.github.com> --- .github/workflows/charterafrica-deploy-dev.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/charterafrica-deploy-dev.yml b/.github/workflows/charterafrica-deploy-dev.yml index 15865415a..a30ea8f95 100644 --- a/.github/workflows/charterafrica-deploy-dev.yml +++ b/.github/workflows/charterafrica-deploy-dev.yml @@ -2,7 +2,7 @@ name: charterAFRICA | Deploy | DEV on: push: - branches: [ft/fix-charterafrica-dev-deployment] + branches: [main] paths: - "apps/charterafrica/**" - "Dockerfile.charterafrica" From 25681d328d7fc1b9f30997fdab6029d183f22403 Mon Sep 17 00:00:00 2001 From: Kipruto <43873157+kelvinkipruto@users.noreply.github.com> Date: Thu, 29 Feb 2024 12:10:24 +0300 Subject: [PATCH 4/4] Update GitHub workflow paths Signed-off-by: Kipruto <43873157+kelvinkipruto@users.noreply.github.com> --- .github/workflows/codeforafrica-deploy-dev-app.yml | 2 +- .github/workflows/codeforafrica-deploy-review-app.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codeforafrica-deploy-dev-app.yml b/.github/workflows/codeforafrica-deploy-dev-app.yml index f4633e496..91343da51 100644 --- a/.github/workflows/codeforafrica-deploy-dev-app.yml +++ b/.github/workflows/codeforafrica-deploy-dev-app.yml @@ -6,7 +6,7 @@ on: paths: - "apps/codeforafrica/**" - "Dockerfile.codeforafrica" - - ".github/**" + - ".github/workflows/codeforafrica-deploy-dev-app.yml" concurrency: group: "${{ github.workflow }} @ ${{ github.ref }}" diff --git a/.github/workflows/codeforafrica-deploy-review-app.yml b/.github/workflows/codeforafrica-deploy-review-app.yml index b68215492..da8ab589e 100644 --- a/.github/workflows/codeforafrica-deploy-review-app.yml +++ b/.github/workflows/codeforafrica-deploy-review-app.yml @@ -5,7 +5,7 @@ on: paths: - "apps/codeforafrica/**" - "Dockerfile.codeforafrica" - - ".github/**" + - ".github/workflows/codeforafrica-deploy-review.yml" concurrency: group: "${{ github.workflow }} @ ${{ github.ref }}" cancel-in-progress: false