new deploy login azure v1
This commit is contained in:
parent
192160f5c0
commit
b225481b44
1 changed files with 9 additions and 4 deletions
13
.github/workflows/int_poweron-gateway-int.yml
vendored
13
.github/workflows/int_poweron-gateway-int.yml
vendored
|
|
@ -65,11 +65,16 @@ jobs:
|
|||
|
||||
- name: Set productive environment
|
||||
run: cp env_prod.env .env
|
||||
|
||||
- name: 'Deploy to Azure Web App'
|
||||
uses: azure/webapps-deploy@v3
|
||||
|
||||
- name: Login to Azure
|
||||
uses: azure/login@v1
|
||||
with:
|
||||
creds: '{"clientId":"${{ secrets.AZURE_CLIENT_ID }}","clientSecret":"${{ secrets.AZURE_CLIENT_SECRET }}","subscriptionId":"${{ secrets.AZURE_SUBSCRIPTION_ID }}","tenantId":"${{ secrets.AZURE_TENANT_ID }}"}'
|
||||
|
||||
- name: Deploy to Azure Web App
|
||||
uses: azure/webapps-deploy@v2
|
||||
id: deploy-to-webapp
|
||||
with:
|
||||
app-name: 'poweron-gateway-int'
|
||||
slot-name: 'Production'
|
||||
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_BD38E0655F354DD4B4EFCD8F4C02933D }}
|
||||
package: .
|
||||
|
|
|
|||
Loading…
Reference in a new issue