revised yaml int
This commit is contained in:
parent
9b7420e9c1
commit
522651b98c
1 changed files with 5 additions and 5 deletions
10
.github/workflows/int_gateway-int.yml
vendored
10
.github/workflows/int_gateway-int.yml
vendored
|
|
@ -10,7 +10,7 @@ jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read #This is required for actions/checkout
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
@ -30,6 +30,8 @@ jobs:
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install -r requirements.txt --no-cache-dir
|
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
|
- name: Zip artifact for deployment
|
||||||
run: zip release.zip ./* -r
|
run: zip release.zip ./* -r
|
||||||
|
|
||||||
|
|
@ -45,7 +47,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
environment:
|
environment:
|
||||||
name: 'Production' # Or change to 'Integration' if you prefer
|
name: 'Production'
|
||||||
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
|
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -60,10 +62,8 @@ jobs:
|
||||||
- name: Set productive environment
|
- name: Set productive environment
|
||||||
run: cp env_int.env .env
|
run: cp env_int.env .env
|
||||||
|
|
||||||
# REMOVED: Azure login step - not needed with publish profile
|
|
||||||
|
|
||||||
- name: 'Deploy to Azure Web App'
|
- 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
|
id: deploy-to-webapp
|
||||||
with:
|
with:
|
||||||
app-name: 'gateway-int'
|
app-name: 'gateway-int'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue