ci: fix path to build output

This commit is contained in:
Bruno BELANYI 2021-08-08 20:05:11 +02:00
parent 454d2b969e
commit 267f5c8598

View file

@ -16,8 +16,7 @@ steps:
commands: commands:
- nix run 'github:ambroisie/nix-config#drone-scp' - nix run 'github:ambroisie/nix-config#drone-scp'
environment: environment:
SCP_SOURCE: /drone/src/*.pdf SCP_SOURCE: *.pdf
SCP_STRIP_COMPONENTS: 2 # Make sure the tarball doesn't contain leading path
SCP_RM: true # Make sure only the newly generated files are left SCP_RM: true # Make sure only the newly generated files are left
SCP_HOST: SCP_HOST:
from_secret: ssh_host from_secret: ssh_host