Skip to content

Commit

Permalink
[gh-1322] Potential fix for container host deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
ashmind committed Jan 6, 2024
1 parent 47c7b3b commit 458326a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/container-host-edge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ jobs:
deploy:
name: 'Deploy (Edge)'
runs-on: ubuntu-latest
permissions:
id-token: write
needs: build
if: github.ref == 'refs/heads/main'
environment: edge-container-host
Expand All @@ -72,7 +74,9 @@ jobs:

- uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

- uses: ./.github/actions/deploy-artifact-to-azure-windows-vm
with:
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/server-edge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ on:
pull_request:
workflow_dispatch:

permissions:
id-token: write

jobs:
build-core:
name: 'Build (.NET 8)'
Expand Down

0 comments on commit 458326a

Please sign in to comment.