Skip to content

Commit

Permalink
Travis GitHub releases (#21)
Browse files Browse the repository at this point in the history
* cd into build dir before deploying

* Assume we are in the working dir

* Add line comment

* Add script stage to cd into pkg dir

* Make build before deploy
  • Loading branch information
Amir Mofasser committed Apr 24, 2019
1 parent 9bd4164 commit d2e3a54
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,16 @@ jobs:
- make windows
- stage: deploy
name: "GitHub Releases"
script: skip
script:
- make build
deploy:
provider: releases
api_key: ${GITHUB_API_KEY}
file:
- /home/travis/gopath/src/github.com/amimof/node-cert-exporter/out/node-cert-exporter-linux-amd64
- /home/travis/gopath/src/github.com/amimof/node-cert-exporter/out/node-cert-exporter-darwin-amd64
- /home/travis/gopath/src/github.com/amimof/node-cert-exporter/out/node-cert-exporter-linux-arm
- /home/travis/gopath/src/github.com/amimof/node-cert-exporter/out/node-cert-exporter-windows-amd64.exe
- out/node-cert-exporter-linux-amd64
- out/node-cert-exporter-darwin-amd64
- out/node-cert-exporter-linux-arm
- out/node-cert-exporter-windows-amd64.exe
skip_cleanup: true
draft: true
on:
Expand Down

0 comments on commit d2e3a54

Please sign in to comment.