Add and push generated source images to the repo
This commit is contained in:
@@ -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