Skip to content

Fix flake8

Fix flake8 #8

Workflow file for this run

# 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: Azure Deployment
on:
push:
branches:
- main
paths-ignore:
- "**.md"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
deploy:
name: Deploy to Azure
runs-on: ubuntu-latest
environment:
name: production
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Deploy to Azure Web App
uses: azure/webapps-deploy@v2
id: deploy-to-webapp
with:
app-name: apartment-management
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}