summaryrefslogtreecommitdiff
path: root/docs/src/pages/guides/deploy.md
diff options
context:
space:
mode:
authorGravatar Marcus Otterström <35617441+MarcusOtter@users.noreply.github.com> 2021-07-30 09:53:24 +0200
committerGravatar GitHub <noreply@github.com> 2021-07-30 00:53:24 -0700
commit6d9ef9c0e935e9131dd1addacc2307c41e808a89 (patch)
tree3422aaf7f00884ef573165c6367d46ea5c201f63 /docs/src/pages/guides/deploy.md
parente9d52bd1cc55b4a8f09ce13bebcc0d428acfd5a4 (diff)
downloadastro-6d9ef9c0e935e9131dd1addacc2307c41e808a89.tar.gz
astro-6d9ef9c0e935e9131dd1addacc2307c41e808a89.tar.zst
astro-6d9ef9c0e935e9131dd1addacc2307c41e808a89.zip
Fix typos and clarify docs (#880)
* Add more missing words * Add missing dot * Add another missing dot * Clarify what optimized css means (discussed on Discord) * Remove oxford comma Co-authored-by: Fred K. Schott <fkschott@gmail.com>
Diffstat (limited to 'docs/src/pages/guides/deploy.md')
-rw-r--r--docs/src/pages/guides/deploy.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/src/pages/guides/deploy.md b/docs/src/pages/guides/deploy.md
index d993aafec..535963da0 100644
--- a/docs/src/pages/guides/deploy.md
+++ b/docs/src/pages/guides/deploy.md
@@ -68,8 +68,9 @@ By default, the build output will be placed at `dist/`. You may deploy this `dis
### GitHub Actions
+
1. In the astro project repo, create `gh-pages` branch then go to Settings > Pages and set to `gh-pages` branch for Github Pages and set directory to `/` (root).
-2. Set the correct `buildOptions.site` in `astro.config.mjs`
+2. Set the correct `buildOptions.site` in `astro.config.mjs`.
3. Create the file `.github/workflows/main.yml` and add in the yaml below. Make sure to edit in your own details.
4. In Github go to Settings > Developer settings > Personal Access tokens. Generate a new token with repo permissions.
5. In the astro project repo (not \<YOUR USERNAME\>.github.io) go to Settings > Secrets and add your new personal access token with the name `API_TOKEN_GITHUB`.