Skip to content

Commit

Permalink
Update main_safehaven2.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaloney111 authored Jun 6, 2024
1 parent 55d9363 commit a87329f
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/main_safehaven2.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 --workspaces=false
npm run build --if-present
npm run test --if-present
Expand All @@ -39,21 +39,21 @@ 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
uses: actions/download-artifact@v3
with:
name: node-app

- name: Login to Azure
uses: azure/login@v1
with:
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_F78BFACEB8754DF0B3920B38D34A736F }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_DB909594BB3047A0814E70CF6073DBB2 }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_608B604CBDDF458FBBD38EB943ADE02F }}

- name: Login to Azure
uses: azure/login@v1
with:
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_F78BFACEB8754DF0B3920B38D34A736F }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_DB909594BB3047A0814E70CF6073DBB2 }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_608B604CBDDF458FBBD38EB943ADE02F }}

- name: 'Deploy to Azure Web App'
uses: azure/webapps-deploy@v2
Expand All @@ -62,4 +62,4 @@ jobs:
app-name: 'SafeHaven2'
slot-name: 'Production'
package: .


0 comments on commit a87329f

Please sign in to comment.