diff options
Diffstat (limited to 'docs/src/pages/guides/deploy.md')
-rw-r--r-- | docs/src/pages/guides/deploy.md | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/docs/src/pages/guides/deploy.md b/docs/src/pages/guides/deploy.md index 9bca1d56d..39518fc78 100644 --- a/docs/src/pages/guides/deploy.md +++ b/docs/src/pages/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. @@ -65,7 +63,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 @@ -138,8 +137,8 @@ Then, set up a new project on [Netlify](https://netlify.com) from your chosen Gi If you don't want to use the `netlify.toml`, when you go to [Netlify](https://netlify.com) and set up up a new project from Git, input the following settings: - - **Build Command:** `astro build` or `npm run build` - - **Publish directory:** `dist` +- **Build Command:** `astro build` or `npm run build` +- **Publish directory:** `dist` Then hit the deploy button. @@ -249,8 +248,8 @@ You can deploy your Astro project with Microsoft Azure [Static Web Apps](https:/ - 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). -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. +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. |