This commit is contained in:
parent
660a573678
commit
c9d91569db
|
@ -66,6 +66,7 @@ steps:
|
|||
- "echo \"export DRONE_GITEA_CLIENT_SECRET='$${DRONE_GITEA_CLIENT_SECRET}'\" >> env-drone # \"drone-gitea-client-secret\""
|
||||
- "echo \"export DRONE_RPC_SECRET='$${DRONE_RPC_SECRET}'\" >> env-drone # \"drone-rpc-secret\""
|
||||
- "echo \"export SSH_KEY='$${SSH_KEY}'\" >> env-drone # \"ssh-key\""
|
||||
username: ${SSH_USER}
|
||||
environment:
|
||||
DOMAIN:
|
||||
from_secret: domain
|
||||
|
@ -105,6 +106,7 @@ steps:
|
|||
source:
|
||||
- .
|
||||
target: /stack/drone
|
||||
username: ${SSH_USER}
|
||||
|
||||
- name: wait
|
||||
image: alpine:3.12.0@sha256:90baa0922fe90624b05cb5766fa5da4e337921656c2f8e2b13bd3c052a0baac1
|
||||
|
@ -175,6 +177,7 @@ steps:
|
|||
- sh .drone/login.sh
|
||||
- sh .drone/pull.sh
|
||||
- sh .drone/deploy.sh
|
||||
username: ${SSH_USER}
|
||||
environment:
|
||||
DOMAIN:
|
||||
from_secret: domain
|
||||
|
|
|
@ -66,6 +66,7 @@ steps:
|
|||
- "echo \"export DRONE_GITEA_CLIENT_SECRET='$${DRONE_GITEA_CLIENT_SECRET}'\" >> env-drone # \"drone-gitea-client-secret\""
|
||||
- "echo \"export DRONE_RPC_SECRET='$${DRONE_RPC_SECRET}'\" >> env-drone # \"drone-rpc-secret\""
|
||||
- "echo \"export SSH_KEY='$${SSH_KEY}'\" >> env-drone # \"ssh-key\""
|
||||
username: ${SSH_USER}
|
||||
environment:
|
||||
DOMAIN:
|
||||
from_secret: domain
|
||||
|
@ -105,6 +106,7 @@ steps:
|
|||
source:
|
||||
- .
|
||||
target: /stack/drone
|
||||
username: ${SSH_USER}
|
||||
|
||||
- name: wait
|
||||
image: alpine:3.12.0@sha256:90baa0922fe90624b05cb5766fa5da4e337921656c2f8e2b13bd3c052a0baac1
|
||||
|
@ -175,6 +177,7 @@ steps:
|
|||
- sh .drone/login.sh
|
||||
- sh .drone/pull.sh
|
||||
- sh .drone/deploy.sh
|
||||
username: ${SSH_USER}
|
||||
environment:
|
||||
DOMAIN:
|
||||
from_secret: domain
|
||||
|
|
Loading…
Reference in New Issue