.
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
b83c01b64e
commit
41e327d728
27
.drone.star
27
.drone.star
|
@ -92,6 +92,31 @@ def buildNginx(name):
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
def scp(target):
|
||||||
|
return {
|
||||||
|
"name": "scp files",
|
||||||
|
"image": "appleboy/drone-scp",
|
||||||
|
"settings": {
|
||||||
|
"host": {
|
||||||
|
"from_secret": "ssh-host",
|
||||||
|
},
|
||||||
|
"username": {
|
||||||
|
"from_secret": "ssh-user",
|
||||||
|
},
|
||||||
|
"password": {
|
||||||
|
"from_secret": "ssh-password",
|
||||||
|
},
|
||||||
|
"port": {
|
||||||
|
"from_secret": "ssh-port",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
"command_timeout": "2m",
|
||||||
|
"target": target,
|
||||||
|
"source": [
|
||||||
|
".",
|
||||||
|
],
|
||||||
|
}
|
||||||
|
|
||||||
def steps(name, dependsOn):
|
def steps(name, dependsOn):
|
||||||
return {
|
return {
|
||||||
"kind": "pipeline",
|
"kind": "pipeline",
|
||||||
|
@ -113,6 +138,8 @@ def steps(name, dependsOn):
|
||||||
buildNginx("drone"),
|
buildNginx("drone"),
|
||||||
buildNginx("git"),
|
buildNginx("git"),
|
||||||
buildNginx("remote"),
|
buildNginx("remote"),
|
||||||
|
buildNginx("chat"),
|
||||||
|
scp("~/gitea-drone-stack"),
|
||||||
{
|
{
|
||||||
"name": "build",
|
"name": "build",
|
||||||
"image": "alpine",
|
"image": "alpine",
|
||||||
|
|
Reference in New Issue