Add and push generated source images to the repo

This commit is contained in:
Ufuk Kayserilioglu
2017-05-09 00:48:27 +03:00
parent e8afb7c9e1
commit 1bcc7f58f1
+4
View File
@@ -15,5 +15,9 @@ after_success:
git config --global user.name "${GIT_NAME}";
git config --global user.email "${GIT_EMAIL}";
git remote set-url origin "https://${GITHUB_USERNAME}:${GITHUB_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git";
git checkout master;
git add 'source/images/theme/*';
git commit -m 'Adding generated images [skip ci]';
git push origin master;
bundle exec middleman deploy;
fi