Skip to content

Add tagging to Zipfile deployment #2

Add tagging to Zipfile deployment

Add tagging to Zipfile deployment #2

Workflow file for this run

name: Build and deploy Python Function App
on:
push:
branches:
- main # or your actual branch
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt -t .
- name: Deploy to Azure Function App
uses: Azure/functions-action@v1
with:
app-name: mdb-dataapi-repl
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE }}
package: .