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
|
||||
image: appleboy/drone-scp
|
||||
settings:
|
||||
host: ${SERVER_HOST}
|
||||
username: ${SERVER_USER}
|
||||
port: ${SERVER_PORT}
|
||||
host:
|
||||
from_secret: server_host
|
||||
username:
|
||||
from_secret: server_user
|
||||
port:
|
||||
from_secret: server_port
|
||||
key:
|
||||
from_secret: ssh_key
|
||||
source:
|
||||
|
|
@ -16,10 +19,3 @@ steps:
|
|||
- css/*
|
||||
- img/*
|
||||
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