forked from tookit/vue-material-admin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yml
31 lines (31 loc) · 896 Bytes
/
config.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
version: 2
jobs:
build:
docker:
- image: circleci/node:10.11-browsers
working_directory: ~/workspace
steps:
- run: echo "==================== Build Starting =============================="
- checkout
- restore_cache:
keys:
- v1-dependencies-{{ checksum "package.json" }}
- v1-dependencies-
- run: yarn install
- run: yarn build
- run: ls -al
- run:
name: Deploy Over SSH
command: scp -o "StrictHostKeyChecking no" -r ~/workspace/dist $user@$host:/var/www/dev.vma.com/
- run: echo "==================== Build Finished =============================="
test:
docker:
- image: circleci/node:10.11-browsers
steps:
- checkout
- run: ls -a;
workflows:
version: 2
build_and_deploy:
jobs:
- build