Skip to content

Commit

Permalink
Update copilot-deploy-infra.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
BryceAmackerLE committed Sep 28, 2023
1 parent fd410ba commit aaac225
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/copilot-deploy-infra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,8 @@ jobs:
clean: true

- name: Login to Azure
env:
AZURE_APP_ID_URI: ${{ secrets.AZURE_CLIENT_ID }}
AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
run: |
az login --service-principal --username="$AZURE_APP_ID_URI" --password="$AZURE_CLIENT_SECRET" --tenant="$AZURE_TENANT_ID"
az login --service-principal --username="${{ secrets.AZURE_CLIENT_ID }}" --password "${{secrets.AZURE_CLIENT_SECRET}}" --tenant="${{ secrets.AZURE_TENANT_ID }}"
- name: deploy-infra
uses: azure/CLI@v1
Expand Down

0 comments on commit aaac225

Please sign in to comment.