From c3e289531535734e2bc3b2888ed489f8e15846df Mon Sep 17 00:00:00 2001 From: BNWEIN Date: Fri, 17 May 2024 07:56:40 +0100 Subject: [PATCH] Add or update the Azure App Service build and deployment workflow config --- .github/workflows/dev_cippvh5nk.yml | 30 +++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/dev_cippvh5nk.yml diff --git a/.github/workflows/dev_cippvh5nk.yml b/.github/workflows/dev_cippvh5nk.yml new file mode 100644 index 000000000000..dbe0410fb709 --- /dev/null +++ b/.github/workflows/dev_cippvh5nk.yml @@ -0,0 +1,30 @@ +# Docs for the Azure Web Apps Deploy action: https://github.com/azure/functions-action +# More GitHub Actions for Azure: https://github.com/Azure/actions + +name: Build and deploy Powershell project to Azure Function App - cippvh5nk + +on: + push: + branches: + - dev + workflow_dispatch: + +env: + AZURE_FUNCTIONAPP_PACKAGE_PATH: '.' # set this to the path to your web app project, defaults to the repository root + +jobs: + deploy: + runs-on: windows-latest + + steps: + - name: 'Checkout GitHub Action' + uses: actions/checkout@v4 + + - name: 'Run Azure Functions Action' + uses: Azure/functions-action@v1 + id: fa + with: + app-name: 'cippvh5nk' + slot-name: 'Production' + package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }} + publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_AF29E35A0BA344B1A163D7A38F78191D }} \ No newline at end of file