Skip to content

Commit c682443

Browse files
Added instructions to deploy to swa and functions (#196)
* Added instructions to deploy to swa and functions * removed unused workflow files * ci: add Azure Static Web Apps workflow file on-behalf-of: @Azure opensource@microsoft.com * Revert "removed unused workflow files" This reverts commit 69beac1. * revert on deleted workflows
1 parent 89a4cbe commit c682443

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

+11
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,17 @@ See instructions to install, setup and run the application locally in the **READ
3232
## Deploy to Azure using Azure Static Web Apps (Azure Functions API)
3333
[![Deploy to Azure button](https://aka.ms/deploytoazurebutton)](https://portal.azure.com/?feature.customportal=false&WT.mc_id=academic-0000-jopapa#create/Microsoft.StaticApp)
3434

35+
1. Once you are signed in on Azure through the link above, select a subscription and resource group then:
36+
- Static Web App details: Provide a name and select a hosting plan
37+
- GitHub Login: Set your deployment source as GitHub then log in and fill in the required fields on the form:
38+
- *Organization* – Choose your organization.
39+
- *Repository* – Select the shop at home repository.
40+
- *Branch* - Select a branch (main)
41+
- *Build Presets* - Azure Static Web Apps uses a detection algorithm to detect the framework used and defaults to Svelte. (You can change to use your framework of choice and issue the App location, Api location - ./api and output location)
42+
- Deployment: Click 'Review + Create', then 'Create'
43+
- Post-Deployment: After deployment is complete, click on 'Go to Deployment' then 'View app in browser'.
44+
45+
Once your GitHub Action is executed successfully, refresh the live page to view your application.
3546
## Deploy to Azure using App Spaces (Fastify API)
3647

3748
[![Deploy to Azure button](https://aka.ms/deploytoazurebutton)](https://portal.azure.com/#view/Microsoft_Azure_PaasServerless/StarshotHome.ReactView)

0 commit comments

Comments
 (0)