From a47f53ee8a4d22de86820ca87b75e954957051ea Mon Sep 17 00:00:00 2001 From: bjarkijonbk Date: Tue, 13 Aug 2024 16:47:18 +0000 Subject: [PATCH] Add or update the Azure App Service build and deployment workflow config --- .github/workflows/master_cippd7flg.yml | 30 ++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/master_cippd7flg.yml diff --git a/.github/workflows/master_cippd7flg.yml b/.github/workflows/master_cippd7flg.yml new file mode 100644 index 000000000000..fd0738461f28 --- /dev/null +++ b/.github/workflows/master_cippd7flg.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 - cippd7flg + +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: + 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: 'cippd7flg' + slot-name: 'Production' + package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }} + publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_6B10AB6EEBDF4F29A6AFAE1A8367DA01 }} \ No newline at end of file