Skip to content

Commit b7ac7d3

Browse files
updated
1 parent a4ae51f commit b7ac7d3

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ jobs:
2222
KEYVAULTS: ${{ steps.list_keyvaults.outputs.KEYVAULTS }}
2323
AZURE_LOCATION: ${{ steps.set_region.outputs.AZURE_LOCATION }}
2424
ENVIRONMENT_NAME: ${{ steps.generate_environment_name.outputs.ENVIRONMENT_NAME }}
25-
CREATED_BY: ${{ steps.set_created_by.outputs.CREATED_BY }} # ✅ NEW
2625

2726
steps:
2827
- name: Checkout Code
@@ -32,11 +31,6 @@ jobs:
3231
run: |
3332
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
3433
az --version # Verify installation
35-
- name: Set Created By
36-
id: set_created_by
37-
run: |
38-
echo "CREATED_BY=${{ github.actor }}" >> $GITHUB_ENV
39-
echo "CREATED_BY=${{ github.actor }}" >> $GITHUB_OUTPUT
4034
4135
- name: Login to Azure
4236
run: |
@@ -157,7 +151,7 @@ jobs:
157151
gptModelVersion="2024-08-06" \
158152
gptDeploymentCapacity="30" \
159153
aiDeploymentsLocation="${{ env.AZURE_LOCATION }}" \
160-
createdBy="${{ env.CREATED_BY }}" \ # ✅ updated from Pipeline → actor
154+
tags="createdBy=${{ env.CREATED_BY }}" \
161155
--query "properties.outputs" -o json); then
162156
echo "❌ Deployment failed. See logs above."
163157
exit 1

0 commit comments

Comments
 (0)