mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
17 lines
354 B
Bash
Executable File
17 lines
354 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# https://cirosantilli.com/linux-kernel-module-cheat#github-pages
|
|
set -eu
|
|
git push
|
|
./build-doc --github-pages
|
|
git checkout gh-pages
|
|
git checkout master -- \
|
|
.gitignore \
|
|
'*.png' \
|
|
_config.yml \
|
|
;
|
|
cp out/README.html index.html
|
|
git add index.html
|
|
git commit --message "$(git log -n1 --pretty='%H' master)"
|
|
git push
|
|
git checkout -
|