Serializing bug fixed (again).. (#149) #117
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
# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy | |
# More GitHub Actions for Azure: https://github.com/Azure/actions | |
name: Server-master to slot dev | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- 'MeetUpPlanner/**' | |
defaults: | |
run: | |
working-directory: MeetUpPlanner/Server | |
jobs: | |
build-and-deploy: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Set up .NET Core | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: '8.0.x' | |
- name: Build with dotnet | |
run: dotnet build --configuration Release | |
- name: dotnet publish | |
run: dotnet publish -c Release -o /myapp | |
- name: Deploy to Azure Web App | |
uses: azure/webapps-deploy@v2 | |
with: | |
app-name: 'meetup-planner' | |
slot-name: 'dev' | |
publish-profile: ${{ secrets.AzureAppService_PublishProfile_0fb7a56b5b13467f88fa3b2b71770716 }} | |
package: /myapp |