You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@annotator.apache.org by ra...@apache.org on 2021/01/21 16:17:28 UTC

[incubator-annotator] branch master updated: Add Deploy step to Travis CI config

This is an automated email from the ASF dual-hosted git repository.

randall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-annotator.git


The following commit(s) were added to refs/heads/master by this push:
     new 69ead89  Add Deploy step to Travis CI config
     new b0a8028  Merge pull request #100 from chesterton-org/master
69ead89 is described below

commit 69ead89bb1618ea5737aa1c9766be1e10f08a27f
Author: Michael Lavrisha <vr...@users.noreply.github.com>
AuthorDate: Tue Jan 19 07:17:46 2021 -0700

    Add Deploy step to Travis CI config
---
 .travis.yml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index 80ec564..7bbf7ad 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -12,6 +12,13 @@ before_install:
   - curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.5.1
   - export PATH="$HOME/.yarn/bin:$PATH"
 
+deploy:
+  - provider: script
+    script: git checkout master && npx lerna publish --preid dev --dist-tag dev --canary --yes
+    skip_cleanup: true
+    on:
+      branch: master
+
 branches:
   only:
     - master