|
|
|
@ -12,17 +12,18 @@ steps:
@@ -12,17 +12,18 @@ steps:
|
|
|
|
|
# commands: |
|
|
|
|
# # - "npm run build" |
|
|
|
|
# - "npm test -- --watchAll=false" |
|
|
|
|
- name: deploy |
|
|
|
|
- name: deploy-stage |
|
|
|
|
image: appleboy/drone-ssh |
|
|
|
|
settings: |
|
|
|
|
host: |
|
|
|
|
from_secret: stage_server |
|
|
|
|
username: drone |
|
|
|
|
username: |
|
|
|
|
from_secret: ssh_user |
|
|
|
|
key: |
|
|
|
|
from_secret: sshkey |
|
|
|
|
from_secret: ssh_key |
|
|
|
|
command_timeout: 2m |
|
|
|
|
script: |
|
|
|
|
- echo "Hello World" |
|
|
|
|
- echo "Hello World 1" |
|
|
|
|
# - name: notify |
|
|
|
|
# image: curlimages/curl:7.80.0 |
|
|
|
|
# environment: |
|
|
|
|