Compare commits
5 Commits
12a6b4f669
...
1a949e6e87
Author | SHA1 | Date | |
---|---|---|---|
|
1a949e6e87 | ||
|
d3aa355ae3 | ||
|
3b870ff634 | ||
|
eb844d9ebe | ||
|
10675e08fe |
17
.drone.yml
17
.drone.yml
@ -6,7 +6,20 @@ steps:
|
||||
image: node:14
|
||||
commands:
|
||||
- npm install
|
||||
- echo $VUE_APP_API_BASE_URL
|
||||
- npm run lint
|
||||
- npm run build:prod
|
||||
- ls -la dist
|
||||
- grep api dist/
|
||||
environment:
|
||||
VUE_APP_API_BASE_URL:
|
||||
from_secret: baseurl
|
||||
|
||||
- name: scp files
|
||||
image: appleboy/drone-scp
|
||||
settings:
|
||||
host: amine-louveau.fr
|
||||
username: ubuntu
|
||||
key:
|
||||
from_secret: privateKey
|
||||
port: 22
|
||||
target: /home/ubuntu/courses
|
||||
source: dist/*
|
||||
|
Loading…
Reference in New Issue
Block a user