diff options
Diffstat (limited to 'git.sr.ht')
-rw-r--r-- | git.sr.ht/index.md | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/git.sr.ht/index.md b/git.sr.ht/index.md index 48a28ac..9792ef5 100644 --- a/git.sr.ht/index.md +++ b/git.sr.ht/index.md @@ -93,7 +93,7 @@ you will be able to run: curl -H "Authorization: Bearer your-token" \ -H "Content-Type: text/html" \ -XPUT \ - --data @README.html \ + --data-binary @README.html \ "https://git.sr.ht/api/repos/your-fun-repo/readme" ``` @@ -105,4 +105,6 @@ It may be desirable to configure a builds.sr.ht job to compile your README from another markup format and submit it on each git push; if so, you will need to review the [build secrets tutorial](https://man.sr.ht/tutorials/builds.sr.ht/using-build-secrets.md) to -safely store your OAuth token. +safely store your OAuth token. Check out the +[example](https://git.sr.ht/~nabijaczleweli/html-readme) to avoid some common +pitfalls. |