Add instructions for removing custom README

This commit is contained in:
Sumner Evans 2021-02-18 11:07:55 -07:00 committed by Drew DeVault
parent 151410b8a3
commit 40d4860f6f
1 changed files with 6 additions and 0 deletions

View File

@ -178,5 +178,11 @@ another markup format and submit it on each git push. If so, you will need to
review the [build secrets tutorial][secrets] to safely store your OAuth token.
Check out the [example][readme example] to avoid some common pitfalls.
If you want to remove the custom README, set the `readme` to `null`.
```
mutation { updateRepository (id: <repo_id>, input: { readme: null }) { id } }
```
[secrets]: https://man.sr.ht/tutorials/builds.sr.ht/using-build-secrets.md
[readme example]: https://git.sr.ht/~nabijaczleweli/html-readme