mirror of
https://github.com/Smithay/smithay.git
synced 2024-09-28 03:21:14 +02:00
travis: add a redirect doc homepage
This commit is contained in:
parent
2fbb45273f
commit
b6a2fe7748
2 changed files with 9 additions and 0 deletions
6
doc_index.html
Normal file
6
doc_index.html
Normal file
|
@ -0,0 +1,6 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv=refresh content=0;url=smithay/index.html />
|
||||
</head>
|
||||
</html>
|
|
@ -5,6 +5,9 @@ token="$GH_TOKEN"
|
|||
commit=$(git rev-parse --short HEAD)
|
||||
msg="Documentation for $repo@$commit"
|
||||
|
||||
# add a homepage
|
||||
cp ./doc_index.html ./target/doc/index.html
|
||||
|
||||
git clone https://github.com/davisp/ghp-import
|
||||
./ghp-import/ghp_import.py -n -m "$msg" target/doc
|
||||
# pipe output to /dev/null to avoid printing our token in travis log
|
||||
|
|
Loading…
Reference in a new issue