Skip to content

Commit

Permalink
Update main_tuskbackend.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
navi-prem authored Nov 2, 2024
1 parent 625fcbb commit ff64138
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/main_tuskbackend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

- name: npm install, build, and test
run: |
npm install
npm install --force
npm run build --if-present
npm run test --if-present
Expand All @@ -42,8 +42,8 @@ jobs:
environment:
name: 'Production'
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
permissions:
id-token: write #This is required for requesting the JWT
permissions:
id-token: write #This is required for requesting the JWT

steps:
- name: Download artifact from build job
Expand All @@ -53,13 +53,13 @@ jobs:

- name: Unzip artifact for deployment
run: unzip release.zip

- name: Login to Azure
uses: azure/login@v2
with:
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_B23E4DE2374C4101AC5232F9F90C3187 }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_531E7EF0B8914CCBABD8F7DC1665065B }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_51363F20BD0C46E5BE9EE47DB0DEE64F }}

- name: Login to Azure
uses: azure/login@v2
with:
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_B23E4DE2374C4101AC5232F9F90C3187 }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_531E7EF0B8914CCBABD8F7DC1665065B }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_51363F20BD0C46E5BE9EE47DB0DEE64F }}

- name: 'Deploy to Azure Web App'
id: deploy-to-webapp
Expand All @@ -68,4 +68,4 @@ jobs:
app-name: 'tuskbackend'
slot-name: 'Production'
package: .


0 comments on commit ff64138

Please sign in to comment.