-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy path.travis.yml
25 lines (25 loc) · 1.17 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
language: node_js
node_js:
- '10'
before_script:
- npm run theme:init
- npm run css:init
- npm run website:init
script:
- npm run theme:build
- npm run css:build
- npm run website:build
after_success:
- bash publish.sh
notifications:
email:
env:
global:
secure: c+5Nm6cbXYjyvidKpoGQhvoF91Sv1b73SvDcsNKLv1wd1Ve7E8LPD1YozkDbrYc9iHrzmVsqSPt+unbnOyGRgCAx32wxtRfJCGf7ReqqEbdDLjQeuLz87Xq8qGPNRL18kkAt/hO6fQFxXSIwdIZQiEomj39HWw3aKzG7KpdJRsWRj3NDGs0mT9aKpHTwdaS2NzubXCXwVFuOVAEdJNLBHlogsyOFPpouvF06Ydw5sddPVwItYYNvtwSs6WrurzYk8Q89rPFFI7g5Gg7YnnjuWF1OYaD3wgXYj0eZ7fTQqelIYmQkI6IqLdEJOMUBfkkgwmP12SuZGToPk7Gsq7aOshPS3FhdMfTkp8vffXG3MB92ZoYrdNAf0vXOmotWWBSVIqOU9uWaeVNvAh5psl7TiMOTXJCMre9c5n7uZMztQcxOinhWuw3MCU/XT5W/x2OyA1ZmQCVvLphIVDMldTwYzHaJYKXfGdKBylZHRu5vyiEl0+/fFvabtwNDk0nCrv4Q2q9ExciNdV4LRki/7wEg3NxPWyltKHBvu1Ux08hAnwjGL1gZKL9IpMSSzXLbb9SS8fXSXvt5mWT6/EgKcEehZHIhSU4poenid8KbZkrXOnedLNk+JZ9lQh9soas9WjotIfPS/R+s3llZ8d828osoTI1gLb5YBz/cSH7Q+7NxrQs=
deploy:
provider: script
script: "cp .npmrc.template $HOME/.npmrc && cd $TRAVIS_BUILD_DIR && mkdir dist && npm run css:dist && npm publish dist --tag $NPM_TAG"
on:
tags: true
skip_cleanup: true