mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Final travis fix: add -r flag to copy
This commit is contained in:
@@ -22,9 +22,7 @@ git clone --branch gh-pages git@github.com:$TRAVIS_REPO_SLUG deploy_blog
|
|||||||
cd deploy_blog
|
cd deploy_blog
|
||||||
git config user.name "blog update bot"
|
git config user.name "blog update bot"
|
||||||
git config user.email "nobody@example.com"
|
git config user.email "nobody@example.com"
|
||||||
rm -rf _posts
|
cp -r ../posts _posts
|
||||||
rm -rf _pages/*
|
|
||||||
cp ../posts _posts
|
|
||||||
cp ../pages/* ./
|
cp ../pages/* ./
|
||||||
git add _posts _pages
|
git add _posts _pages
|
||||||
git commit -qm "update blog to $TRAVIS_COMMIT"
|
git commit -qm "update blog to $TRAVIS_COMMIT"
|
||||||
|
|||||||
Reference in New Issue
Block a user