diff --git a/.gitignore b/.gitignore index eb99377..72818e9 100644 --- a/.gitignore +++ b/.gitignore @@ -133,4 +133,5 @@ _build/ _contents/ # Jupyterlite -_output/ \ No newline at end of file +_output/ +book/.jupyterlite.doit.db diff --git a/book/.jupyterlite.doit.db b/book/.jupyterlite.doit.db deleted file mode 100644 index c022fbd..0000000 Binary files a/book/.jupyterlite.doit.db and /dev/null differ diff --git a/book/workflows/github.md b/book/workflows/github.md index 196a6e6..60a0e50 100644 --- a/book/workflows/github.md +++ b/book/workflows/github.md @@ -29,6 +29,17 @@ Wait a few minutes for the website to be deployed, if you're curious, have a loo ![alt text](../images/image-8.png) -When the workflow has finished, visit your build book at https://.github.io/ (case sensitive). For our example it is: https://dummystudent-Tom.github.io/My_own_book: +When the workflow has finished, visit your build book at `https://.github.io/` (case sensitive). For our example it is: https://dummystudent-Tom.github.io/My_own_book: + +![alt text](../images/image-9.png) + +--- + +It is possible to have multiple versions of a book published at once, by creating another Git branch (e.g. `draft` or `dev`). +For each branch, the respective book is published at `https://.github.io//`. +Technical note: for convenience, just `...//` redirects to `...//book/`, which is itself an alias (a symlink) for +`...//main/`. + +To learn more about how we do this, please see the [GitHub Actions documentation](https://docs.github.com/en/actions) and our deployment pipeline configuration file `.github/workflows/deploy-book-ghpages.yml` [here](https://github.com/TeachBooks/template/blob/main/.github/workflows/deploy-book-ghpages.yml). + -![alt text](../images/image-9.png) \ No newline at end of file