Skip to content

Commit dd72602

Browse files
Add demo branch to workflow_run and update image tag handling for demo branch
1 parent dc3d0cf commit dd72602

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
branches:
99
- main
1010
- dev
11+
- demo
1112
push:
1213
branches:
1314
- deploy-and-test
@@ -131,8 +132,10 @@ jobs:
131132
IMAGE_TAG="latest"
132133
elif [[ "${{ env.BRANCH_NAME }}" == "dev" ]]; then
133134
IMAGE_TAG="dev"
135+
elif [[ "${{ env.BRANCH_NAME }}" == "demo" ]]; then
136+
IMAGE_TAG="demo"
134137
else
135-
IMAGE_TAG="latest"
138+
IMAGE_TAG="dev"
136139
fi
137140
az deployment group create \
138141
--name ${{ env.SOLUTION_PREFIX }}-deployment \

0 commit comments

Comments
 (0)