From 522651b98cd364e35107bdb2bde011a3158c648f Mon Sep 17 00:00:00 2001 From: ValueOn AG Date: Tue, 9 Sep 2025 01:44:37 +0200 Subject: [PATCH] revised yaml int --- .github/workflows/int_gateway-int.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/int_gateway-int.yml b/.github/workflows/int_gateway-int.yml index 22511db2..2a7da645 100644 --- a/.github/workflows/int_gateway-int.yml +++ b/.github/workflows/int_gateway-int.yml @@ -10,7 +10,7 @@ jobs: build: runs-on: ubuntu-latest permissions: - contents: read + contents: read #This is required for actions/checkout steps: - uses: actions/checkout@v4 @@ -30,6 +30,8 @@ jobs: python -m pip install --upgrade pip pip install -r requirements.txt --no-cache-dir + # Optional: Add step to run tests here (PyTest, Django test suites, etc.) + - name: Zip artifact for deployment run: zip release.zip ./* -r @@ -45,7 +47,7 @@ jobs: runs-on: ubuntu-latest needs: build environment: - name: 'Production' # Or change to 'Integration' if you prefer + name: 'Production' url: ${{ steps.deploy-to-webapp.outputs.webapp-url }} steps: @@ -60,10 +62,8 @@ jobs: - name: Set productive environment run: cp env_int.env .env - # REMOVED: Azure login step - not needed with publish profile - - name: 'Deploy to Azure Web App' - uses: azure/webapps-deploy@v3 # Using v3 like the working one + uses: azure/webapps-deploy@v3 id: deploy-to-webapp with: app-name: 'gateway-int'