Skip to content

Commit

Permalink
Azure #1
Browse files Browse the repository at this point in the history
  • Loading branch information
srvnarunraj committed Dec 25, 2023
1 parent 648854d commit 8356e07
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/main_srvnarunraj.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy
# More GitHub Actions for Azure: https://github.com/Azure/actions
# More info on Python, GitHub Actions, and Azure App Service: https://aka.ms/python-webapps-actions

name: Build and deploy Python app to Azure Web App - srvnarunraj

on:
Expand All @@ -23,9 +19,13 @@ jobs:
python-version: '3.10'

- name: Create and start virtual environment
run: |
python -m venv venv
source venv/bin/activate
run: python -m venv venv

- name: Set VIRTUAL_ENV variable
run: echo "VIRTUAL_ENV=$(pwd)/venv" >> $GITHUB_ENV

- name: Activate virtual environment
run: source venv/bin/activate

- name: Install dependencies
run: pip install -r requirements.txt
Expand Down

0 comments on commit 8356e07

Please sign in to comment.