diff --git a/.github/workflows/CD-azure-functions.yml b/.github/workflows/CD-azure-functions.yml index 28714aa..8b8a2a9 100644 --- a/.github/workflows/CD-azure-functions.yml +++ b/.github/workflows/CD-azure-functions.yml @@ -7,6 +7,10 @@ on: branches: - master +env: + AZURE_FUNCTIONAPP_NAME: AutomaticClockOuts # set this to your application's name + AZURE_FUNCTIONAPP_PACKAGE_PATH: '.' # set this to the path to your web app project, defaults to the repository root + jobs: build-and-deploy: runs-on: ubuntu-latest @@ -22,5 +26,6 @@ jobs: - uses: Azure/functions-action@v1 id: fa with: - app-name: AutomaticClockOuts + app-name: ${{ env.AZURE_FUNCTIONAPP_NAME }} + package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }} publish-profile: ${{ secrets.SCM_CREDENTIALS }}