Skip to content

Merge pull request #32 from TecharyJames/feature/itglue #82

Merge pull request #32 from TecharyJames/feature/itglue

Merge pull request #32 from TecharyJames/feature/itglue #82

# 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 - cippuznn2
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
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_08B275A7749744FE9C9F30CE683D3185 }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_281D18D4F146483191730A6D7B8C9FBC }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_00C67E66C93742039B34B3E3E3CF2D1C }}
- name: 'Run Azure Functions Action'
uses: Azure/functions-action@v1
id: fa
with:
app-name: 'cippuznn2'
slot-name: 'Production'
package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}