forked from lotabout/very-simple
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (31 loc) · 1.2 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
31
language: node_js
node_js:
- 6.0.0
branches:
only:
- master
before_install:
- git remote set-branches --add origin source
- git remote update
- git checkout -b source --track origin/source
- npm install -g hexo-cli
install:
- npm install
script:
- git submodule init
- git submodule update
- cd themes/very-simple
- git remote update
- git reset --hard origin/master
- cd ../..
- hexo generate
deploy:
provider: pages
skip_cleanup: true
github_token: "${GH_TOKEN}"
local_dir: public
on:
branch: master
env:
global:
secure: ZVyyEZO+8qfwgKTOq0wDvJG3GUmL3k7NJxXG20UONpbF+01CJAe8Lq4FddX+zh7jyXqGZhdeQYj6gmy1eWU8gbYpahtA2ohvxbCyyVioUTxPOm9yZAt5IqXM1Vems8vvS6eTR5huij0T6gt4BzHHy1szrXl55g6ho+wC5N3GCxwxh23GZhGK10HZcVRj9sgCWlOeEMDneuZUfLa20qLcn4tdEzD5iL2A/mNsH1aFqPvm/7F8da22UiEZkp+/PfO9hawraS8ydD3DAINWlya69WnPM8rewPTgdFl+4n11YNFgmXxLF8//ioyOExGRRu70ZyfVXGyxj7yllZqRXle7NNbYGnLbDNYKNMwGIEOYzAzRWDpi+g7AafKIEm/sgiOjjRta4hLRzK/5csfFqdi1LC9fm3GA8+GFAQpCuRAenPyXw6glObKXtTfVm6leZAuC1mo61qu4HGCyJZMObFyD97vY+SQnTmxPp0Cvu7NW9HFe5o4mxHDwhJH5HkjMy9m6sym6qQWbKNKoiqj06SAdNC84uu8vSnwxgZVtFEdgYGOucE6tJNa4CmQXSaU7v/ry3kqK9zrl3/YnbvooSKHzZ40MVm+D+JlIT1OI16chr35imw9XRCXPYjvP8i67PdrU3zX+SqKC0UFW2NPAct1we7DCPOCqpGj6GxL99w7x6es=