From 1bcc7f58f1c1e19de0458181d1e6476a555a6906 Mon Sep 17 00:00:00 2001 From: Ufuk Kayserilioglu Date: Tue, 9 May 2017 00:38:06 +0300 Subject: [PATCH] Add and push generated source images to the repo --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index f77ad0b..74e801a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 \ No newline at end of file