Skip to content

Commit

Permalink
Update deployment workflow; add permissions for id-token and contents…
Browse files Browse the repository at this point in the history
…, and enable AzPSSession for Azure deployment
  • Loading branch information
Ahzem committed Dec 16, 2024
1 parent 869854d commit 7cd0797
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/deploy-subtracker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ env:
AZURE_WEBAPP_NAME: subtracker # Replace with your app name
NODE_VERSION: '18.x'

permissions:
id-token: write
contents: read

jobs:
build-and-deploy:
runs-on: ubuntu-latest
Expand All @@ -32,6 +36,7 @@ jobs:
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID }}
enable-AzPSSession: true


- name: Deploy to Azure Web App
Expand Down

0 comments on commit 7cd0797

Please sign in to comment.