Skip to content

Commit b80c35f

Browse files
committed
2 parents 1dc3a20 + 795e4ca commit b80c35f

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

README.md

+8-3
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,15 @@ See [Get started with Quarto](https://quarto.org/docs/get-started/) and the [Qua
5858

5959
- **All text** in the `.qmd` documents is boilerplate or example text and intended to be edited to some extent to customize it for your group.
6060

61+
### To preview
62+
63+
In the terminal run `quarto preview` and it should open a live preview of your book in a browser window.
64+
When you make changes and save them, this preview will update.
65+
6166
### To publish
6267

6368
You only have to do this once.
6469

65-
Run `quarto publish gh-pages` in the terminal to create `_publish.yml`.
66-
Commit and push `_publish.yml` to GitHub.
67-
After this, the GitHub action should automatically re-render and deploy your book when changes are pushed to the main branch on GitHub.
70+
In the terminal, stop the `quarto preview` process if it is running, run `quarto render` and then `quarto publish gh-pages`.
71+
When this is successful it should open up your book in your web browser.
72+
After this, the GitHub action included in `.github/` should automatically re-render and deploy your book when changes are pushed to the main branch on GitHub.

0 commit comments

Comments
 (0)