Fixed deployment message

This commit is contained in:
ziajka 2017-12-05 12:28:47 +01:00
parent 68a9d1b07c
commit cb403ae13a

View File

@ -23,6 +23,7 @@ script: ng test --watch=false
after_script: after_script:
- ng build --base-href /${TRAVIS_BRANCH}/ - 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 - git clone https://${GITHUB_CREDENTIALS}@github.com/GNS3/gns3.github.io.git github-pages
- mkdir -p github-pages/${TRAVIS_BRANCH} - mkdir -p github-pages/${TRAVIS_BRANCH}
- rsync -r --delete dist/ 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.email "developers@gns3.net"
- git config user.name "GNS3 Build" - git config user.name "GNS3 Build"
- git add -A - git add -A
- git commit -m "Deploy - $(git log -1 --pretty=%B)" - git commit -m "Deploy - $GIT_LAST_LOG"
- git push origin master - git push origin master