Added auto deploy
parent
9da2034535
commit
3bdc28b077
10
.travis.yml
10
.travis.yml
|
@ -20,9 +20,13 @@ jobs:
|
|||
- "ls -lah /tmp/build/"
|
||||
- "ls -lah /tmp/build/logs/"
|
||||
- "ls -lah /tmp/build/packages/"
|
||||
#TODO: Upload!
|
||||
- stage: "deploy"
|
||||
name: Deploy the builded files as official release
|
||||
script:
|
||||
- echo "Implement me!"
|
||||
if: branch = master
|
||||
- "wget https://github.com/buildkite/github-release/releases/download/v1.0/github-release-linux-amd64 -O /tmp/git-release; chmod +x /tmp/git-release;"
|
||||
- "echo \"Release commit: $COMMIT\"; export GITHUB_RELEASE_COMMIT=\"$COMMIT\""
|
||||
- "export GITHUB_RELEASE_TAG=\"This is a auto build release from travis\""
|
||||
- "export GITHUB_RELEASE_REPOSITORY=\"$REPO_FULL_NAME\""
|
||||
- "export GITHUB_RELEASE_ACCESS_TOKEN=\"$GIT_AUTHTOKEN\""
|
||||
- "/tmp/git-release \"Travis autobuild $COMMIT\" /tmp/build/packages/* /tmp/build/logs/*"
|
||||
if: branch = master && is_fork = false
|
Loading…
Reference in New Issue