name: Deploy website on push on: push: branches: - main workflow_dispatch: jobs: build-and-deploy: runs-on: ubuntu-latest steps: - name: Checkout GitHub Action uses: actions/checkout@v4 - name: Deploy to Azure Web App uses: azure/webapps-deploy@v3 with: app-name: 'MediatekFormation' publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }} package: .