Skip to content

Commit

Permalink
add feat branch
Browse files Browse the repository at this point in the history
  • Loading branch information
kienvc authored Dec 24, 2024
1 parent 4932014 commit 095f85b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
branches:
- develop
- main
- feat
jobs:
build-and-push:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions ci/updateManifest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 095f85b

Please sign in to comment.