|
|
|
@ -9,6 +9,16 @@ steps: |
|
|
|
- npm install |
|
|
|
- npm install |
|
|
|
- npm run build |
|
|
|
- npm run build |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: deploy |
|
|
|
|
|
|
|
image: appleboy/drone-scp |
|
|
|
|
|
|
|
settings: |
|
|
|
|
|
|
|
host: example.com |
|
|
|
|
|
|
|
username: username_deploy |
|
|
|
|
|
|
|
password: password_deploy |
|
|
|
|
|
|
|
port: 22 |
|
|
|
|
|
|
|
target: /root/docker/nginx/www_data |
|
|
|
|
|
|
|
source: . |
|
|
|
|
|
|
|
|
|
|
|
- name: telegram notification |
|
|
|
- name: telegram notification |
|
|
|
image: appleboy/drone-telegram |
|
|
|
image: appleboy/drone-telegram |
|
|
|
settings: |
|
|
|
settings: |
|
|
|
|