|
@ -45,6 +45,7 @@ steps: |
|
|
- sleep 3s |
|
|
- sleep 3s |
|
|
- cd .. |
|
|
- cd .. |
|
|
- rm -rf publish |
|
|
- rm -rf publish |
|
|
|
|
|
- mkdir publish |
|
|
|
|
|
|
|
|
- name: deploy |
|
|
- name: deploy |
|
|
image: appleboy/drone-scp |
|
|
image: appleboy/drone-scp |
|
@ -53,11 +54,37 @@ steps: |
|
|
port: 16085 |
|
|
port: 16085 |
|
|
username: Administrator |
|
|
username: Administrator |
|
|
password: Microsoft@2022 |
|
|
password: Microsoft@2022 |
|
|
timeout: "30m" |
|
|
command_timeout: 30m |
|
|
command_timeout: "30m" |
|
|
|
|
|
target: /d/BQ-JS/publish |
|
|
target: /d/BQ-JS/publish |
|
|
source: build/publish |
|
|
source: build/publish |
|
|
strip_components: 2 |
|
|
|
|
|
|
|
|
# - name: deploy |
|
|
|
|
|
# image: appleboy/drone-scp |
|
|
|
|
|
# settings: |
|
|
|
|
|
# host: dev.ccwin-in.com |
|
|
|
|
|
# port: 16085 |
|
|
|
|
|
# username: Administrator |
|
|
|
|
|
# password: Microsoft@2022 |
|
|
|
|
|
# timeout: "30m" |
|
|
|
|
|
# command_timeout: "30m" |
|
|
|
|
|
# target: /d/BQ-JS/publish |
|
|
|
|
|
# source: build/publish |
|
|
|
|
|
# strip_components: 2 |
|
|
|
|
|
|
|
|
|
|
|
# - name: deploy |
|
|
|
|
|
# image: atmoz/sftp |
|
|
|
|
|
# volumes: |
|
|
|
|
|
# - ./build/publish:/home/foo/upload |
|
|
|
|
|
# ports: |
|
|
|
|
|
# - 16085:22 |
|
|
|
|
|
# command: Administrator@Microsoft@2022:::upload |
|
|
|
|
|
# settings: |
|
|
|
|
|
# host: dev.ccwin-in.com |
|
|
|
|
|
# port: 16085 |
|
|
|
|
|
# username: Administrator |
|
|
|
|
|
# password: Microsoft@2022 |
|
|
|
|
|
# source: build/publish |
|
|
|
|
|
# target: /d/BQ-JS/publish |
|
|
|
|
|
|
|
|
- name: start |
|
|
- name: start |
|
|
image: appleboy/drone-ssh |
|
|
image: appleboy/drone-ssh |
|
|