1
0
mirror of https://github.com/danog/gigaclone.git synced 2024-11-26 20:14:58 +01:00

Updated url list

This commit is contained in:
Daniil Gentili 2016-03-26 20:07:01 +00:00
parent 6933a69d4b
commit 1d8e34c46a
2 changed files with 4 additions and 3 deletions

View File

@ -8,4 +8,4 @@ Usage: ```gigaclone output_dir```
If no output dir is specified, . is the default.
[Download the script](https://github.com/danog/gigaclone/raw/master/gigaclone) or
Or [view](https://daniil.it/gigaclone/tree.html) the dir listing of the website.
Or [view](https://daniil.it/gigaclone/tree) the dir listing of the website.

View File

@ -89,14 +89,15 @@ cd $tmp
git clone https://$GH_TOKEN@github.com/danog/gigaclone.git $tmp/git
cd $tmp/git
config
cp $dir/* .
cp -a $dir/* .
rm -rf tmp gigaclone.log
git add -A
git commit -m "Updated url list"
git push origin master &>/dev/null
git checkout gh-pages
cp $dir/tree.html .
rm -r tree
cp -a $dir/tree .
git add -A
git commit -m "Updated dir tree"
git push origin gh-pages &>/dev/null