From 9f8122f82a280fc06b1d9909ca70328c688e6c4c Mon Sep 17 00:00:00 2001 From: harisato Date: Mon, 9 Sep 2024 10:22:11 +0700 Subject: [PATCH] update ci --- .github/workflows/ci.yaml | 3 ++- ci/updateManifest.sh | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 38616c94..671f4758 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -4,6 +4,7 @@ on: branches: - dev - staging + - ipa jobs: build-and-push: @@ -46,8 +47,8 @@ jobs: echo REPO_MANIFEST_BRANCH=main >> $GITHUB_ENV echo REPO_MANIFEST_ENV_DEV=./clusters/k8s-dev/punkga >> $GITHUB_ENV echo REPO_MANIFEST_ENV_STAGING=./clusters/k8s-testnet-serenity/punkga >> $GITHUB_ENV - echo REPO_MANIFEST_ENV_EUPHORIA=./clusters/k8s-testnet-euphoria/punkga >> $GITHUB_ENV echo REPO_MANIFEST_ENV_SERENITY=./clusters/k8s-testnet-serenity/punkga >> $GITHUB_ENV + echo REPO_MANIFEST_ENV_STORY=./clusters/k8s-testnet-euphoria/punkga >> $GITHUB_ENV echo REPO_MANIFEST_TAG_IMAGE=image_punkga_homepage >> $GITHUB_ENV - name: Update manifest env: diff --git a/ci/updateManifest.sh b/ci/updateManifest.sh index f408541d..7b74b76f 100644 --- a/ci/updateManifest.sh +++ b/ci/updateManifest.sh @@ -26,10 +26,10 @@ elif [ ${GITHUB_REF_NAME} = "serenity" ] then echo 'This is serenity branch' cd ${REPO_MANIFEST_ENV_SERENITY} -elif [ ${GITHUB_REF_NAME} = "story-hackathon" ] +elif [ ${GITHUB_REF_NAME} = "ipa" ] then - echo 'This is hackathon branch' - cd ${REPO_MANIFEST_ENV_HACKATHON} + echo 'This is ipa branch' + cd ${REPO_MANIFEST_ENV_STORY} else exit fi