Azure Static Web Apps publishes a website to a prodution environment by building apps from a GitHub repository.
After you created your GitHub repository and commited your code, you can create a static web app from the Azure portal.
In the Basics section, begin by configuring your new app and linking it to a GitHub repository.
After you sign in with GitHub, enter the repository information.
When you create an Azure Static Web App, Azure resources are provisined to make up your app. Also a GitHub Action workflow is created and commited to your repository. This workflow builds and publishes your application.
Before you can navigate to your new static site, the deployment build must first finish running.
The Static Web Apps overview window displays a series of links that help you interact with your web app.
You can check other docs and tutorials regarding Azure Static Web Apps directly from Azure Documentation: