Skip to content

Commit

Permalink
Another attempt at conditional deploys
Browse files Browse the repository at this point in the history
  • Loading branch information
oblador committed Sep 25, 2019
1 parent 22bcb33 commit b8b5e98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
script: npm run test-ci
- stage: deploy
script: skip
if: (repo = "oblador/loki") AND (branch = "master") AND (type = push) AND (tag =~ ^v[0-9]+\.[0-9]+\.[0-9]+.*$)
if: (repo = "oblador/loki") AND (branch = "master") AND (tag IS present)
name: 'NPM'
deploy:
- provider: npm
Expand All @@ -30,7 +30,7 @@ jobs:
secure: 'MxsN+ekEiSPTDT0GG4aZkYNGtIdAx71/EuN4sygE1prI2K8h162xW9MrkYn4H7TyN7WPk3JxeKiKDJWJnumf65BUNxpxAkQpfJjWESzYt/q0i/hdhB6KJb/32ooyB0lgS921QgcT5Zm1iz+sEj+4SjrScBoovp885Y+Ya5oTpXtei5x8i/RI7qtViSTLbRwRcPLyrR5Btd5SqS7B7tlvEPeni1SryvyM7t1dhQ+Mbe77NQ+rFws7C6TZ67bjw5eZi7GcSKDr9lDF1M/RAUcF6OndslZiNjEObgHs8jmnM9f8MJn85QD5ubvy1Wpwv82Nu1fDCmDY6rbRRpNhqNERoNe5twhhG7uGtueSf++q2DLR4o9LAASh9m/aicfzv+tQfMGg1YYevWblqijh/cp4P8o7vBWA+ppfSFUBFFf5cePncWQdz/Inl5pWieRZ03EymmTzrzjSD6jI7xtyRZPNQAzJrqSAIGlnHkKutf+rUk6GKaFAubwNDRl7z03oLKKHYoTebVIJk4M4kcbeH97ygZTuzb9Igkf759mpJQA4eq6WU5fw22Fvn51bEbttOe2iWGyRBFC7WsJgOY7I/7gffyaA+XpzbvAMhE4ssGpdj6t+JDhhfpICAbLFsSXdgXknqXKjq/yDZGHpv52oS6P3wW3k1tAMyFWy/xiFGgFxdfI='
- stage: deploy
script: skip
if: (repo = "oblador/loki") AND (branch = "master") AND (type = push) AND (tag =~ ^v[0-9]+\.[0-9]+\.[0-9]+.*$)
if: (repo = "oblador/loki") AND (branch = "master") AND (tag IS present)
name: 'Documentation'
before_deploy: 'cd website && yarn install && yarn build'
deploy:
Expand Down

0 comments on commit b8b5e98

Please sign in to comment.