Add and push generated source images to the repo
This commit is contained in:
1 parent
e8afb7c9e1
commit
1bcc7f58f1
1 file changed
+4
@@ -15,5 +15,9 @@ after_success:
|
|||||||
git config --global user.name "${GIT_NAME}";
|
git config --global user.name "${GIT_NAME}";
|
||||||
git config --global user.email "${GIT_EMAIL}";
|
git config --global user.email "${GIT_EMAIL}";
|
||||||
git remote set-url origin "https://${GITHUB_USERNAME}:${GITHUB_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git";
|
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;
|
bundle exec middleman deploy;
|
||||||
fi
|
fi
|
||||||
Reference in new issue
Block a user