Disclaimer for Github pages / jekyll quirk (#1355)
* Added GH pages disclaimer * Added changeset * Reworded disclaimer * Correct GH Pages casing * Update deploy.md Co-authored-by: Fred K. Schott <fkschott@gmail.com>
This commit is contained in:
parent
d7b6e54810
commit
6b8630c641
2 changed files with 7 additions and 0 deletions
5
.changeset/serious-fishes-lay.md
Normal file
5
.changeset/serious-fishes-lay.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'docs': patch
|
||||
---
|
||||
|
||||
Github pages disclaimer
|
|
@ -31,6 +31,8 @@ By default, the build output will be placed at `dist/`. You may deploy this `dis
|
|||
|
||||
## GitHub Pages
|
||||
|
||||
> **Warning:** By default, Github Pages will break the `_astro/` directory of your deployed website. To disable this behavior and fix your this issue, make sure that you use the `deploy.sh` script below or manually add an empty `.nojekyll` file to your `public/` site directory.
|
||||
|
||||
1. Set the correct `buildOptions.site` in `astro.config.mjs`.
|
||||
1. Inside your project, create `deploy.sh` with the following content (uncommenting the appropriate lines), and run it to deploy:
|
||||
|
||||
|
|
Loading…
Reference in a new issue