diff options
Diffstat (limited to 'docs/guides/deploy.md')
-rw-r--r-- | docs/guides/deploy.md | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/docs/guides/deploy.md b/docs/guides/deploy.md index aa2417a0e..df0cf1432 100644 --- a/docs/guides/deploy.md +++ b/docs/guides/deploy.md @@ -20,8 +20,6 @@ The following guides are based on some shared assumptions: } ``` - - ## Building The App You may run `npm run build` command to build the app. @@ -64,7 +62,8 @@ By default, the build output will be placed at `dist/`. You may deploy this `dis cd - ``` -> You can also run the above script in your CI setup to enable automatic deployment on each push. + + > You can also run the above script in your CI setup to enable automatic deployment on each push. ### GitHub Actions @@ -232,10 +231,10 @@ You can deploy your Astro project with Microsoft Azure [Static Web Apps](https:/ - An Azure account and a subscription key. You can create a [free Azure account here](https://azure.microsoft.com/free). - Your app code pushed to [GitHub](https://github.com). -- The [SWA Extension](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azurestaticwebapps) in [Visual Studio Code](https://code.visualstudio.com). +- The [SWA Extension](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azurestaticwebapps) in [Visual Studio Code](https://code.visualstudio.com). -Install the extension in VS Code and navigate to your app root. Open the Static Web Apps extension, sign in to Azure, and click the '+' sign to create a new Static Web App. You will be prompted to designate which subscription key to use. +Install the extension in VS Code and navigate to your app root. Open the Static Web Apps extension, sign in to Azure, and click the '+' sign 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 `/dist`. The wizard will run and will create a GitHub action in your repo in a `.github` folder. +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 `/dist`. The wizard will run and will create a GitHub action in your repo in a `.github` folder. -The action will work to deploy your app (watch its progress in your repo's Actions tab) and, when successfully completed, you can view your app in the address provided in the extension's progress window by clicking the 'Browse Website' button that appears when the GitHub action has run.
\ No newline at end of file +The action will work to deploy your app (watch its progress in your repo's Actions tab) and, when successfully completed, you can view your app in the address provided in the extension's progress window by clicking the 'Browse Website' button that appears when the GitHub action has run. |