Compare commits
1 Commits
e1cc1caa31
...
20c4155fa4
Author | SHA1 | Date |
---|---|---|
ktyl | 20c4155fa4 |
12
.drone.yml
12
.drone.yml
|
@ -31,6 +31,11 @@ steps:
|
|||
from_secret: user
|
||||
SSH_KEY:
|
||||
from_secret: ssh_key
|
||||
|
||||
when:
|
||||
branch:
|
||||
- main
|
||||
|
||||
commands:
|
||||
# install deps
|
||||
- apt-get update -qq > /dev/null
|
||||
|
@ -63,9 +68,4 @@ steps:
|
|||
- rsync -rP site/* "$host:$${HOST}"
|
||||
- ssh $host $delete_current_files
|
||||
- ssh $host $deploy_new_files
|
||||
when:
|
||||
branch:
|
||||
- main
|
||||
event:
|
||||
exclude:
|
||||
- pull_request
|
||||
|
||||
|
|
Loading…
Reference in New Issue