From 21b00261c17a87bb50fec52dbd671bee70dbf7ad Mon Sep 17 00:00:00 2001 From: Michael Allen Date: Fri, 19 Aug 2022 12:44:08 -0400 Subject: [PATCH] Add or update the Azure App Service build and deployment workflow config --- .github/workflows/master_cippszuab.yml | 29 ++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/master_cippszuab.yml diff --git a/.github/workflows/master_cippszuab.yml b/.github/workflows/master_cippszuab.yml new file mode 100644 index 0000000000000..5403e89923820 --- /dev/null +++ b/.github/workflows/master_cippszuab.yml @@ -0,0 +1,29 @@ +# 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 - cippszuab + +on: + push: + branches: + - master + workflow_dispatch: + +env: + 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: windows-latest + steps: + - name: 'Checkout GitHub Action' + uses: actions/checkout@v3 + + - name: 'Run Azure Functions Action' + uses: Azure/functions-action@v1 + id: fa + with: + app-name: 'cippszuab' + slot-name: 'Production' + package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }} + publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_9BDF1ED555B24209BB94E20E0F01E96D }}