From b225481b44156b7ff07e766754204f28bdaef616 Mon Sep 17 00:00:00 2001
From: ValueOn AG
Date: Sun, 17 Aug 2025 21:38:52 +0200
Subject: [PATCH] new deploy login azure v1
---
.github/workflows/int_poweron-gateway-int.yml | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/int_poweron-gateway-int.yml b/.github/workflows/int_poweron-gateway-int.yml
index 9e90418c..731e8bf8 100644
--- a/.github/workflows/int_poweron-gateway-int.yml
+++ b/.github/workflows/int_poweron-gateway-int.yml
@@ -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: .