This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
wangwei
/
test009
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
0
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
update pipeline for main branch
main
高级云脑研发工程师
3 years ago
parent
e9a7b94270
commit
a0571a633e
1 changed files
with
30 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+30
-0
.drone.yml
+ 30
- 0
.drone.yml
View File
@@ -0,0 +1,30 @@
kind: pipeline
type: docker
name: 1
platform:
os: linux
arch: arm64
steps:
- name: 编译构建
image: python
commands:
- pip install -r requirements.txt
- 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:
- main
event:
- push
Write
Preview
Loading…
Cancel
Save