Skip to content
Snippets Groups Projects
Commit 77f3d73e authored by Katsu Kawakami's avatar Katsu Kawakami
Browse files

Remove gh_pages branch before pushing new documentation out

parent 604b530f
No related branches found
No related tags found
No related merge requests found
...@@ -11,10 +11,11 @@ git config user.name "Katsu Kawakami" ...@@ -11,10 +11,11 @@ git config user.name "Katsu Kawakami"
git config user.email "kkawa1570@gmail.com" git config user.email "kkawa1570@gmail.com"
git remote add upstream "https://$GH_TOKEN@github.com/kkawakam/rustyline.git" git remote add upstream "https://$GH_TOKEN@github.com/kkawakam/rustyline.git"
git fetch upstream && git reset upstream/gh-pages git fetch upstream
git push origin --delete gh_pages > /dev/null 2>&1
touch . touch .
git add -A . git add -A .
git commit -m "rebuild pages at ${rev}" git commit -m "rebuild pages at ${rev}"
git push -f -q upstream HEAD:gh-pages > /dev/null 2>&1 git push -f -q upstream gh-pages > /dev/null 2>&1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment