From c95dd88747dd4b8f21b8d07cfb262fda61d3ed86 Mon Sep 17 00:00:00 2001 From: Steve Yonkeu Date: Mon, 29 Jan 2024 11:40:43 +0100 Subject: [PATCH] configuration for deployment (#19) --- .github/workflows/main_dj237-api.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main_dj237-api.yml b/.github/workflows/main_dj237-api.yml index 055a072..6e72512 100644 --- a/.github/workflows/main_dj237-api.yml +++ b/.github/workflows/main_dj237-api.yml @@ -30,6 +30,9 @@ jobs: - name: Install dependencies run: pip install -r requirements.txt + - name: Create .env file + run: cp .env.example .env + - name: Zip artifact for deployment run: zip release.zip ./* -r @@ -57,9 +60,6 @@ jobs: - name: Unzip artifact for deployment run: unzip release.zip - - name: Create .env file from template - run: cp .env.example .env - - name: 'Deploy to Azure Web App' uses: azure/webapps-deploy@v3.0.0 id: deploy-to-webapp