|
@@ -31,10 +31,12 @@ steps:
|
|
|
password: $jgkj001
|
|
password: $jgkj001
|
|
|
debug: true
|
|
debug: true
|
|
|
target: /www/wwwroot/railway-web.iamsee.com/release
|
|
target: /www/wwwroot/railway-web.iamsee.com/release
|
|
|
- source: dist
|
|
|
|
|
|
|
+ source:
|
|
|
|
|
+ - dist
|
|
|
|
|
+ - Dockerfile
|
|
|
rm: true
|
|
rm: true
|
|
|
- - name: deploy
|
|
|
|
|
- image: appleboy/drone-ssh
|
|
|
|
|
|
|
+ - name: deploy-build-image
|
|
|
|
|
+ image: appleboy/drone-ssh
|
|
|
settings:
|
|
settings:
|
|
|
host: gdsc.ninecase.top
|
|
host: gdsc.ninecase.top
|
|
|
username: root
|
|
username: root
|
|
@@ -43,6 +45,7 @@ steps:
|
|
|
script:
|
|
script:
|
|
|
- export PATH=/usr/local/bin:$PATH
|
|
- export PATH=/usr/local/bin:$PATH
|
|
|
- echo $PATH
|
|
- echo $PATH
|
|
|
|
|
+ - docker build -t iamsee/gdsc-web:1.0.0 .
|
|
|
volumes:
|
|
volumes:
|
|
|
- name: cache # The name use in this pipeline,
|
|
- name: cache # The name use in this pipeline,
|
|
|
host:
|
|
host:
|