Skip to content

Serializing bug fixed (again).. (#149) #76

Serializing bug fixed (again).. (#149)

Serializing bug fixed (again).. (#149) #76

name: Functions-master to slot dev
on:
push:
branches:
- master
paths:
- 'MeetUpFunctions/**'
# CONFIGURATION
# For help, go to https://github.com/Azure/Actions
#
# 1. Set up the following secrets in your repository:
# AZURE_FUNCTIONAPP_PUBLISH_PROFILE
#
jobs:
build-and-deploy:
runs-on: windows-latest
steps:
- name: 'Checkout GitHub Action'
uses: actions/checkout@master
- name: Setup DotNet Environment
uses: actions/setup-dotnet@v2
with:
dotnet-version: '8.0.x'
- name: 'Resolve Project Dependencies Using Dotnet'
shell: pwsh
run: |
pushd './MeetUpFunctions'
dotnet nuget add source --username rbrands --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/rbrands/index.json"
dotnet build --configuration Release --output ./output
popd
- name: 'Run Azure Functions Action'
uses: Azure/functions-action@v1
id: fa
with:
app-name: 'meetupplanner'
slot-name: 'dev'
package: 'MeetUpFunctions/output'
publish-profile: ${{ secrets.AZURE_FUNCTIONAPP_PUBLISH_PROFILE }}