This commit is contained in:
parent
724afd2799
commit
22f926142d
1 changed files with 7 additions and 11 deletions
|
|
@ -6,9 +6,12 @@ steps:
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: appleboy/drone-scp
|
image: appleboy/drone-scp
|
||||||
settings:
|
settings:
|
||||||
host: ${SERVER_HOST}
|
host:
|
||||||
username: ${SERVER_USER}
|
from_secret: server_host
|
||||||
port: ${SERVER_PORT}
|
username:
|
||||||
|
from_secret: server_user
|
||||||
|
port:
|
||||||
|
from_secret: server_port
|
||||||
key:
|
key:
|
||||||
from_secret: ssh_key
|
from_secret: ssh_key
|
||||||
source:
|
source:
|
||||||
|
|
@ -16,10 +19,3 @@ steps:
|
||||||
- css/*
|
- css/*
|
||||||
- img/*
|
- img/*
|
||||||
target: ~/oldrabbittown/src
|
target: ~/oldrabbittown/src
|
||||||
environment:
|
|
||||||
SERVER_HOST:
|
|
||||||
from_secret: server_host
|
|
||||||
SERVER_USER:
|
|
||||||
from_secret: server_user
|
|
||||||
SERVER_PORT:
|
|
||||||
from_secret: server_port
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue