Skip to content

Commit

Permalink
Attempt to automize psc-publish
Browse files Browse the repository at this point in the history
  • Loading branch information
zudov committed Nov 18, 2015
1 parent 46b4e20 commit 1a830d7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,13 @@ install:
script:
- pulp test && pulp docs

after_success:
- >-
test $TRAVIS_TAG &&
psc-publish \
| tail -n 1 \
> output/documentation.json &&
curl -X POST http://pursuit.purescript.org/packages \
-d @output/documentation.json \
-H 'Accept: application/json' \
-H "Authorization: token ${GITHUB_TOKEN}"

0 comments on commit 1a830d7

Please sign in to comment.