mirror of
https://github.com/primer/css.git
synced 2024-11-14 03:54:54 +03:00
Use travis event type
This commit is contained in:
parent
4abd9bdc18
commit
cf82ee4110
@ -2,7 +2,7 @@
|
||||
set -e
|
||||
|
||||
# always publish a canary release if this is a PR build
|
||||
if [[ $TRAVIS_PULL_REQUEST && $TRAVIS_PULL_REQUEST != false ]]; then
|
||||
if [[ $TRAVIS_EVENT_TYPE = pull_request ]]; then
|
||||
echo "🐦 Publishing canary version..."
|
||||
echo npm run release-canary
|
||||
# merges to dev build a release candidate
|
||||
|
Loading…
Reference in New Issue
Block a user