mirror of
https://github.com/TeachBooks/template.git
synced 2026-11-12 22:25:52 +00:00
parent
6515f845f0
commit
7b625e41d3
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ Video available [here](https://youtu.be/nN3Oi_MVvF0)
|
|||
|
||||
3. You can choose for `Private` only if you've GitHub Pro, GitHub Team, GitHub Enterprise Cloud, or GitHub Enterprise Server. Otherwise, you won't be able to publish your TeachBook online. Furthermore, it prevents people from contributing to your book, making your book essentially 'closed' instead of 'open.
|
||||
|
||||
4. (Only required for private repositories:) Create a Personal Access Token (classic) with at least the scopes `repo`, `read:org` and `gist` as described in the [github documentation](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens), and add this token with the name `GH_PAT` as a `Repository secret` or `Organization secret` ({% octicon gear height:16 %} `Settings` > {% octicon key-asterisk height:16 %} `Secrets and variables` > `Actions` > `Repository secrets` or `Organization secrets`).
|
||||
4. (Only required for private repositories:) Create a Personal Access Token (classic) with at least the scopes `repo`, `read:org` and `gist` as described in the [github documentation](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens), and add this token with the name `GH_PAT` as a `Repository secret` or `Organization secret` (`Settings` > `Secrets and variables` > `Actions` > `Repository secrets` or `Organization secrets`).
|
||||
|
||||
5. You need to activate GitHub pages so that your website is published to the internet. As long as you don't do this your TeachBook is not published online. Actually, now that you've taken this template our workflow tries to publish it to GitHub pages, which you didn't have the chance to activate yet. That's why you probably received an email with 'call-deploy-book: Some jobs were not successful' and you see the failed job under `Initial commit`. You can activate GitHub pages by setting the source for GitHub pages to GitHub Actions under `Settings` - `Pages` - `Build and deployment` - `Source` - `GitHub Actions`:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue