File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed
Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -51,14 +51,26 @@ jobs:
5151 fi
5252
5353
54+ - name : Generate Unique Solution Prefix
55+ id : generate_solution_prefix
56+ run : |
57+ set -e
58+ COMMON_PART="pslcod"
59+ TIMESTAMP=$(date +%s)
60+ UPDATED_TIMESTAMP=$(echo $TIMESTAMP | tail -c 3)
61+ UNIQUE_SOLUTION_PREFIX="${COMMON_PART}${UPDATED_TIMESTAMP}"
62+ echo "SOLUTION_PREFIX=${UNIQUE_SOLUTION_PREFIX}" >> $GITHUB_ENV
63+ echo "Generated SOLUTION_PREFIX: ${UNIQUE_SOLUTION_PREFIX}"
64+
65+
5466 - name : Deploy Bicep Template
5567 id : deploy
5668 run : |
5769 set -e
5870 az deployment group create \
5971 --resource-group ${{ env.RESOURCE_GROUP_NAME }} \
6072 --template-file infra/main.bicep \
61- --parameters AzureAiServiceLocation=northcentralus Prefix=codegen
73+ --parameters AzureAiServiceLocation=northcentralus Prefix=${{ env.SOLUTION_PREFIX }}
6274
6375
6476 - name : Send Notification on Failure
You can’t perform that action at this time.
0 commit comments