Skip to content

Commit

Permalink
docs: place .nojekyll when deploying to GitHub Pages (#10230)
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red committed Sep 24, 2022
1 parent da632bf commit 0f7353b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/guide/static-deploy.md
Expand Up @@ -64,7 +64,7 @@ Now the `preview` command will launch the server at `http://localhost:8080`.

2. Inside your project, create `deploy.sh` with the following content (with highlighted lines uncommented appropriately), and run it to deploy:

```bash{13,21,24}
```bash{16,24,27}
#!/usr/bin/env sh
# abort on errors
Expand All @@ -76,6 +76,9 @@ Now the `preview` command will launch the server at `http://localhost:8080`.
# navigate into the build output directory
cd dist
# place .nojekyll to bypass Jekyll processing
echo > .nojekyll
# if you are deploying to a custom domain
# echo 'www.example.com' > CNAME
Expand Down

0 comments on commit 0f7353b

Please sign in to comment.