revised yaml int

This commit is contained in:
ValueOn AG 2025-09-09 01:44:37 +02:00
parent 9b7420e9c1
commit 522651b98c

View file

@ -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'