Browse Source

update pipeline for master branch

master
wangwei10061 3 months ago
parent
commit
74c1d372ff
1 changed files with 18 additions and 0 deletions
  1. +18
    -0
      .drone.yml

+ 18
- 0
.drone.yml View File

@@ -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

Loading…
Cancel
Save