-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
43 lines (41 loc) · 1.11 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
32
33
34
35
36
37
38
39
40
41
42
43
sudo: false
language: node_js
node_js: "12"
before_cache:
- rm -rf node_modules/dev-blog-directory*
branches:
only:
- master
script:
- git clone https://github.com/dev-blog-directory/dev-blog-directory-feed-db.git
- cp -a dev-blog-directory-feed-db/feed-db.json ./
- npm run readme-gen
deploy:
- provider: pages
project_name: dev-blog-directory-raw
skip_cleanup: true
local_dir: dist
repo: dev-blog-directory/dev-blog-directory
target_branch: master
github_token: $GITHUB_TOKEN
keep_history: false
committer_from_gh: true
name: dailyrandomphoto
email: [email protected]
commit_message: "Site updated at `date +'%Y-%m-%d %T'`"
on:
branch: master
- provider: pages
project_name: dev-blog-directory-raw
skip_cleanup: true
local_dir: dist
repo: dailyrandomphoto/dev-blog-directory
target_branch: master
github_token: $GITHUB_TOKEN
keep_history: false
committer_from_gh: true
name: dailyrandomphoto
email: [email protected]
commit_message: "Site updated at `date +'%Y-%m-%d %T'`"
on:
branch: master