diff --git a/.travis.yml b/.travis.yml index 907dd772..e30dbd8d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,6 +23,7 @@ script: ng test --watch=false after_script: - ng build --base-href /${TRAVIS_BRANCH}/ + - export GIT_LAST_LOG="$(git log -1 --pretty=%B)" - git clone https://${GITHUB_CREDENTIALS}@github.com/GNS3/gns3.github.io.git github-pages - mkdir -p github-pages/${TRAVIS_BRANCH} - rsync -r --delete dist/ github-pages/${TRAVIS_BRANCH} @@ -30,6 +31,6 @@ after_script: - git config user.email "developers@gns3.net" - git config user.name "GNS3 Build" - git add -A - - git commit -m "Deploy - $(git log -1 --pretty=%B)" + - git commit -m "Deploy - $GIT_LAST_LOG" - git push origin master