mirror of
https://github.com/tokio-rs/bytes.git
synced 2026-08-08 00:00:26 +02:00
19 lines
370 B
Bash
19 lines
370 B
Bash
#!/bin/bash
|
|
|
|
rev=$(git rev-parse --short HEAD)
|
|
|
|
cd target/doc
|
|
|
|
git init
|
|
git config user.name "Carl Lerche"
|
|
git config user.email "[email protected]"
|
|
|
|
git remote add upstream "https://$GH_TOKEN@github.com/carllerche/bytes"
|
|
git fetch upstream && git reset upstream/gh-pages
|
|
|
|
touch .
|
|
|
|
git add -A .
|
|
git commit -m "rebuild pages at ${rev}"
|
|
git push -q upstream HEAD:gh-pages
|