Skip to content

Update main_agrixcubesat.yml #7

Update main_agrixcubesat.yml

Update main_agrixcubesat.yml #7

Workflow file for this run

name: Deploy Django Backend
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Install dependencies
run: |
cd AgritechSat
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Deploy to Azure App Service
uses: azure/webapps-deploy@v2
with:
app-name: <AgriXcubesat>
slot-name: production
package: ./backend