Compare commits
No commits in common. "4e4adf3b3cdfcd0605663415f172867028a0925d" and "4f244ffa283d9b5ae369acea45ba78673e7f4368" have entirely different histories.
4e4adf3b3c
...
4f244ffa28
12
.drone.yml
12
.drone.yml
@ -31,6 +31,11 @@ steps:
|
|||||||
from_secret: user
|
from_secret: user
|
||||||
SSH_KEY:
|
SSH_KEY:
|
||||||
from_secret: ssh_key
|
from_secret: ssh_key
|
||||||
|
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
|
|
||||||
commands:
|
commands:
|
||||||
# install deps
|
# install deps
|
||||||
- apt-get update -qq > /dev/null
|
- apt-get update -qq > /dev/null
|
||||||
@ -63,9 +68,4 @@ steps:
|
|||||||
- rsync -rP site/* "$host:$${HOST}"
|
- rsync -rP site/* "$host:$${HOST}"
|
||||||
- ssh $host $delete_current_files
|
- ssh $host $delete_current_files
|
||||||
- ssh $host $deploy_new_files
|
- ssh $host $deploy_new_files
|
||||||
when:
|
|
||||||
branch:
|
|
||||||
- main
|
|
||||||
event:
|
|
||||||
exclude:
|
|
||||||
- pull_request
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user