|
@@ -19,24 +19,24 @@ steps:
|
|
|
password: $jgkj001
|
|
password: $jgkj001
|
|
|
debug: true
|
|
debug: true
|
|
|
script:
|
|
script:
|
|
|
- - cd /www/wwwroot/railway-web.iamsee.com/release
|
|
|
|
|
|
|
+ - cd /www/wwwroot/railway-web.ninecase.top/release
|
|
|
- pwd
|
|
- pwd
|
|
|
- chattr -i dist/.user.ini
|
|
- chattr -i dist/.user.ini
|
|
|
- rm -rf dist
|
|
- rm -rf dist
|
|
|
- name: scp_files
|
|
- name: scp_files
|
|
|
image: appleboy/drone-scp
|
|
image: appleboy/drone-scp
|
|
|
settings:
|
|
settings:
|
|
|
- host: 172.17.0.1
|
|
|
|
|
|
|
+ host: 172.16.0.28
|
|
|
username: root
|
|
username: root
|
|
|
password: $jgkj001
|
|
password: $jgkj001
|
|
|
debug: true
|
|
debug: true
|
|
|
- target: /www/wwwroot/railway-web.iamsee.com/release
|
|
|
|
|
|
|
+ target: /www/wwwroot/railway-web.ninecase.top/release
|
|
|
source: dist
|
|
source: dist
|
|
|
rm: true
|
|
rm: true
|
|
|
- name: deploy
|
|
- name: deploy
|
|
|
image: appleboy/drone-ssh
|
|
image: appleboy/drone-ssh
|
|
|
settings:
|
|
settings:
|
|
|
- host: deploy.iamsee.com
|
|
|
|
|
|
|
+ host: 172.16.0.28
|
|
|
username: root
|
|
username: root
|
|
|
password: $jgkj001
|
|
password: $jgkj001
|
|
|
debug: true
|
|
debug: true
|