Publish
Chess-api is hosted by Azure Websites on https://chesswebapi20210509195304.azurewebsites.net.
Publish via Visual Studio
You need to have access and be logged in to tomasz.gawron@microsoft.wsei.edu.pl Azure Account.
Open chess-web-app solution
Rigth-click on ChessApp.Web project then left-click Publish...

Click New, as a Target chose Azure, click Next

From Specific target tab chose Azure App Service (Windows), click Next

Chose "Azure dla studentów" subscription, "Resource group" view and "ChessWebApi20211059195304" service interface, click Finish

Publish via Visual Studio and PublishSettings
You need to have ChessWebApi20210509195304.PublishSettings file.
If you have access to tomasz.gawron@microsoft.wsei.edu.pl Azure Account you can generate the file by your own.
If don't, ask someone to give you the file.
Open chess-web-app solution
Rigth-click on ChessApp.Web project then left-click Publish...

Select Import Profile and click Next

Browse and select ChessWebApi20210509195304.PublishSettings file, click Finish
Publish via GitHub actions
GitHub actions takes care of publishing for you.
Only thing you have to do is to push changes or merge branch to master branch.
Action code can be found in chess-api/.github/workflows directory.
Last updated