Refactored syntax highlighting shortcodes into markdown
This commit is contained in:
parent
9e6bb1a3e5
commit
ea435049b3
71 changed files with 297 additions and 297 deletions
|
@ -16,13 +16,13 @@ It turns out it is quite simple. First you will need to generate a [github acces
|
|||
|
||||
Then you create a git hook with a script that looks like the following :
|
||||
|
||||
{{< highlight sh >}}
|
||||
```sh
|
||||
#!/usr/bin/env bash
|
||||
set -eu
|
||||
|
||||
git push --mirror --quiet https://adyxax:TOKEN@github.com/adyxax/www.git &> /dev/null
|
||||
echo 'github updated'
|
||||
{{< /highlight >}}
|
||||
```
|
||||
|
||||
Just put your token there, adjust your username and the repository path then it will work. I am using this in `post-receive` hooks on my git server on several repositories without any issue.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue