mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 06:17: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
|
||||
git config user.name "blog update bot"
|
||||
git config user.email "nobody@example.com"
|
||||
rm -rf _posts
|
||||
rm -rf _pages/*
|
||||
cp ../posts _posts
|
||||
cp -r ../posts _posts
|
||||
cp ../pages/* ./
|
||||
git add _posts _pages
|
||||
git commit -qm "update blog to $TRAVIS_COMMIT"
|
||||
|
||||
Reference in New Issue
Block a user