Skip to content

Update signature to include Push in returned task #47

Update signature to include Push in returned task

Update signature to include Push in returned task #47

name: Deploy to Azure
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.x
- name: Build and publish
run: dotnet publish ./Examples/PresenceExample/PresenceExample.csproj --configuration Release --output ./publish
- name: Run Azure webapp deploy action using publish profile credentials
uses: azure/webapps-deploy@v2
with:
app-name: RealtimeExample
publish-profile: ${{ secrets.REALTIME_EXAMPLE_PUBLISH_PROFILE }}
package: ./publish