Skip to content

Commit

Permalink
chore: use travis
Browse files Browse the repository at this point in the history
  • Loading branch information
xrkffgg committed Dec 14, 2020
1 parent 1d3e1b0 commit b738504
Show file tree
Hide file tree
Showing 5 changed files with 8,440 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ node_modules
/Kvue

# Lock
yarn.lock
# yarn.lock
package-lock.json

# local env files
Expand Down
21 changes: 21 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
language: node_js

sudo: false

node_js:
- 12

cache:
directories:
- node_modules

script:
- yarn build

deploy:
provider: pages
skip_cleanup: false
github_token: $TRAVIS_TOKEN_KEY
local_dir: Kvue
on:
branch: master
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,13 @@
```
npm run dev || yarn dev
```
## 项目打包

```
npm run build
```

> 线上使用 travis 自动部署
## 说明 📃

Expand Down
15 changes: 0 additions & 15 deletions deploy.sh

This file was deleted.

Loading

0 comments on commit b738504

Please sign in to comment.