Skip to content

Commit

Permalink
Update master_ngcodex.yml
Browse files Browse the repository at this point in the history
codeurzebs authored Feb 11, 2024
1 parent 351bcd4 commit 3ccf294
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/master_ngcodex-gpt.yml
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
# More GitHub Actions for Azure: https://github.com/Azure/actions
# More info on Python, GitHub Actions, and Azure App Service: https://aka.ms/python-webapps-actions

name: Build and deploy Python app to Azure Web App - ngcodex-gpt
name: Build and deploy Python app to Azure Web App - ngcodex

on:
push:
@@ -49,8 +49,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
@@ -61,18 +61,18 @@ jobs:
- name: Unzip artifact for deployment
run: unzip release.zip


- name: Login to Azure
uses: azure/login@v1
with:
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_3378C322D4024C48985609FD9E9DDE2F }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_77B64334BED546FE87D388D50EEF49AA }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_DBA0530B37D1486A9B978C842056B10A }}

- name: Login to Azure
uses: azure/login@v1
with:
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_3378C322D4024C48985609FD9E9DDE2F }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_77B64334BED546FE87D388D50EEF49AA }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_DBA0530B37D1486A9B978C842056B10A }}

- name: 'Deploy to Azure Web App'
uses: azure/webapps-deploy@v2
id: deploy-to-webapp
with:
app-name: 'ngcodex-gpt'
slot-name: 'Production'


0 comments on commit 3ccf294

Please sign in to comment.