mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2024-12-25 07:31:04 +00:00
Fixed deployment message
This commit is contained in:
parent
68a9d1b07c
commit
cb403ae13a
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user