Skip to content

Merge pull request #67 from KelvinTegelaar/master #45

Merge pull request #67 from KelvinTegelaar/master

Merge pull request #67 from KelvinTegelaar/master #45

# 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 - cipp5lm5f-usertasks
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: ubuntu-latest
permissions:
id-token: write #This is required for requesting the JWT
contents: read #This is required for actions/checkout
steps:
- name: 'Checkout GitHub Action'
uses: actions/checkout@v4
- name: Login to Azure
uses: azure/login@v2
with:
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_AB79E26238C441CD9FCB44F02FAA6B23 }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_8D807E09FE644EAA8A290752FA089444 }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_01F2DDB4D2C2473F8DFDAE2CEFAF5C99 }}
- name: 'Run Azure Functions Action'
uses: Azure/functions-action@v1
id: fa
with:
app-name: 'cipp5lm5f-usertasks'
slot-name: 'Production'
package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}