From 095f85b9ae4623b6304483e00004936a99f6464f Mon Sep 17 00:00:00 2001 From: kienvc <17985897+kienvc@users.noreply.github.com> Date: Tue, 24 Dec 2024 12:59:16 +0700 Subject: [PATCH] add feat branch --- .github/workflows/ci.yaml | 2 ++ ci/updateManifest.sh | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 868a57b..47f06db 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -4,6 +4,7 @@ on: branches: - develop - main + - feat jobs: build-and-push: runs-on: ubuntu-latest @@ -45,6 +46,7 @@ jobs: echo REPO_MANIFEST_BRANCH=main >> $GITHUB_ENV echo REPO_MANIFEST_ENV_DEV=./k8s-dev/sqrai >> $GITHUB_ENV echo REPO_MANIFEST_ENV_MAIN=./k8s-prod/sqrai >> $GITHUB_ENV + echo REPO_MANIFEST_ENV_FEAT=./k8s-feat/sqrai >> $GITHUB_ENV echo REPO_MANIFEST_TAG_IMAGE=image_sqrai_twitter_scraper >> $GITHUB_ENV - name: Update manifest env: diff --git a/ci/updateManifest.sh b/ci/updateManifest.sh index dfc0e56..769030e 100644 --- a/ci/updateManifest.sh +++ b/ci/updateManifest.sh @@ -14,6 +14,10 @@ elif [ ${GITHUB_REF_NAME} = "develop" ] then echo 'This is dev branch' cd ${REPO_MANIFEST_ENV_DEV} +elif [ ${GITHUB_REF_NAME} = "feat" ] +then + echo 'This is feat branch' + cd ${REPO_MANIFEST_ENV_FEAT} else exit fi