Azure is a cloud platform from Microsoft. You can deploy your Hyas site with Microsoft Azure’s Static Web Apps service.
Prerequisites
To follow this guide you will need:
- An Azure account and a subscription key. Create a free Azure account.
- Your app code pushed to GitHub.
- The SWA Extension in Visual Studio Code.
How to deploy
- Open your project in VS Code.
- Open the Static Web Apps extension, sign in to Azure, and click the + button to create a new Static Web App. You will be prompted to designate which subscription key to use.
- Follow the wizard started by the extension to give your app a name, choose a framework preset, and designate the app root (usually
/
) and built file location/public
. The wizard will run and will create a GitHub Action in your repo in a.github
folder.
The GitHub Action will deploy your app (you can see its progress in your repo’s Actions tab on GitHub). When successfully completed, you can view your app at the address shown in the SWA Extension’s progress window by clicking the Browse Website button (this will appear after the GitHub Action has run).