diff --git a/.drone.yml b/.drone.yml index a9603dc..684d50c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,12 +5,12 @@ pipeline: # - yarn install - pwd - testing: - image: node:10.9.0 - group: testing - commands: - - yarn install - - yarn run test --all + + # testing: + # image: node:10.9.0 + # group: testing + # commands: + # - yarn run test scp: image: appleboy/drone-scp @@ -26,7 +26,7 @@ pipeline: - /drone/src/github.com/horsekitlin/goodfood_admin when: branch: develop - status: [ suucess ] + ssh: image: appleboy/drone-ssh host: @@ -44,6 +44,5 @@ pipeline: - cp -a build/* /var/www/html/goodfood.tomaslin.com.tw - cd /root - rm -rf /root/drone - when: - branch: develop + branch: develop \ No newline at end of file