Skip to content

Commit

Permalink
Enable auto-deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
dsferruzza committed Mar 6, 2016
1 parent 66fa7d1 commit 83e58ff
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,19 @@ install:
script:
- stack --no-terminal --skip-ghc-check install

before_deploy:
- mv "$HOME/.local/bin/$PROJECT" "$HOME/$PROJECT-$PLATFORM"

deploy:
provider: releases
api_key: $GH_TOKEN
file: "$HOME/$PROJECT-$PLATFORM"
skip_cleanup: true
on:
tags: true

matrix:
include:
- env: PLATFORM=linux-x86_64
- env: PLATFORM=osx-x86_64
- env: PROJECT=prismic-backup PLATFORM=linux-x86_64
- env: PROJECT=prismic-backup PLATFORM=osx-x86_64
os: osx

0 comments on commit 83e58ff

Please sign in to comment.