ci: migrate to drone-rsync
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
938c1be974
commit
fb021ad3b3
15
.drone.yml
15
.drone.yml
|
@ -13,19 +13,18 @@ steps:
|
||||||
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
commands:
|
commands:
|
||||||
- nix run github:ambroisie/nix-config#drone-scp
|
- nix run github:ambroisie/nix-config#drone-rsync
|
||||||
environment:
|
environment:
|
||||||
SCP_SOURCE: '*.pdf'
|
SYNC_SOURCE: '*.pdf'
|
||||||
SCP_RM: true # Make sure only the newly generated files are left
|
SYNC_HOST:
|
||||||
SCP_HOST:
|
|
||||||
from_secret: ssh_host
|
from_secret: ssh_host
|
||||||
SCP_TARGET:
|
SYNC_TARGET:
|
||||||
from_secret: ssh_target
|
from_secret: ssh_target
|
||||||
SCP_USERNAME:
|
SYNC_USERNAME:
|
||||||
from_secret: ssh_user
|
from_secret: ssh_user
|
||||||
SCP_KEY:
|
SYNC_KEY:
|
||||||
from_secret: ssh_key
|
from_secret: ssh_key
|
||||||
SCP_PORT:
|
SYNC_PORT:
|
||||||
from_secret: ssh_port
|
from_secret: ssh_port
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
|
|
Loading…
Reference in a new issue