Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
harisato committed Sep 9, 2024
1 parent b60271c commit 9f8122f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
branches:
- dev
- staging
- ipa
jobs:

build-and-push:
Expand Down Expand Up @@ -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:
Expand Down
6 changes: 3 additions & 3 deletions ci/updateManifest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9f8122f

Please sign in to comment.