diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..e65c180 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,18 @@ +- name: 远程主机部署 + image: appleboy/drone-ssh:linux-arm64 + settings: + host: + from_secret: ip + username: + from_secret: name + password: + from_secret: pwd + port: 22 + script: + - chmod +x /home/deploy.sh + - bash /home/deploy.sh +trigger: + branch: + - master + event: + - push