Skip to content

Commit d04c198

Browse files
post deployment script selection changes
1 parent 407f313 commit d04c198

1 file changed

Lines changed: 2 additions & 11 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -176,16 +176,6 @@ jobs:
176176
echo "MACAE_URL_API=https://${MACAE_URL_API}" >> $GITHUB_OUTPUT
177177
echo "CONTAINER_APP=${CONTAINER_APP_NAME}" >> $GITHUB_OUTPUT
178178
179-
- name: Setup Python
180-
uses: actions/setup-python@v5
181-
with:
182-
python-version: '3.11.9'
183-
184-
- name: Install Python Dependencies
185-
run: |
186-
python -m pip install --upgrade pip
187-
pip install requests
188-
189179
- name: Run Post deployment scripts
190180
run: |
191181
set -e
@@ -194,7 +184,8 @@ jobs:
194184
echo "Running post-deployment script..."
195185
196186
# Run PowerShell script with 'All' use case automatically selected
197-
echo "5" | pwsh -File infra/scripts/Selecting-Team-Config-And-Data.ps1 -ResourceGroup "${{ env.RESOURCE_GROUP_NAME }}"
187+
# Provide two inputs: '1' for keeping current subscription, '5' for All use cases
188+
echo -e "1\n5" | pwsh -File infra/scripts/Selecting-Team-Config-And-Data.ps1 -ResourceGroup "${{ env.RESOURCE_GROUP_NAME }}"
198189
199190
echo "=== Post-Deployment Script Completed Successfully ==="
200191

0 commit comments

Comments
 (0)