Update signature to include Push
in returned task
#47
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |