-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
30 lines (30 loc) · 1.26 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
language: node_js
node_js:
- '12'
cache:
directories:
- node_modules
script:
- yarn build --prod --base-href="./"
- zip -jr S3WebUploader-${TRAVIS_TAG}.zip ./dist
deploy:
- provider: pages
skip-cleanup: true
github-token: "$GITHUB_TOKEN"
keep-history: true
local-dir: dist
on:
branch: master
- provider: releases
api_key: "$GITHUB_TOKEN"
name: S3WebUploader-${TRAVIS_TAG}
file: S3WebUploader-${TRAVIS_TAG}.zip
skip_cleanup: true
draft: false
prerelease: false
on:
tags: true
repo: gaplo917/S3WebUploader
env:
global:
secure: CqsK+B6ec3Syq3zZNTV9c7O59DCSAzv4qedIUqxs+pde9gBNOZ9lFXcaVa5v3yPLj+SiF9eEdy2ToiJkfLi/qYeztvqiygL3LkJeimvdzO0AGuVJutYDzW8XdV1FgjIAdzFLFJiB9NLSc8GSsUvfLxVhesFjv+lwSBwyN9qLEpulItdBmTJpc0HUw3zdEhIqiPjPXE9jwn4bCPO2eGMz8jsvdZL0CVQ73XSaJjwIuS7SOKgFjWU5lfMkUNuHeHZcYT+hkUIX+/iu71IKPShtMVbFIfbkUNRrwVAV8HmpPESstwH9ceRJuprmKtgUZ6Fs9JABenYj+Zvxa1kSCtfroHcSedEuKBjtPWF+nnTjZ4YsEoOIFCw6BWWfRusO1cP3K5LjJpB/5uU4JCZBCzkhpYib8oU8WFLn2cNNtnfNTNg0pch6QlimYc3pQoYGBUEZxesZt/rHxXYLl5+N9imaH+mxJoxEy6XbbudHgqMaS/twcGbDoV4ZHQHMVP6X7S+auY5KY7v9m16TvgTdTQyTw4F7RWbstgFeYLWm0oVkOhANWsg0EjhM15tMLGerfXnx5hq9OeC6/6w8W4CFMULKUhaex3Mj3bx8lv9D4HWIP3ztGXSXyNpGjBGhzHnkvtcKUUtaAhCuMSR9gnVyosE9EHhZ4XRe1HSXzIx/pp9QGUM=