Compare commits
3 commits
d73cadf0c3
...
2a50374691
Author | SHA1 | Date | |
---|---|---|---|
Bruno BELANYI | 2a50374691 | ||
Bruno BELANYI | 25ae1ab53e | ||
Bruno BELANYI | 75630df80d |
|
@ -7,12 +7,15 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- nix develop -c make
|
- nix develop -c make
|
||||||
|
|
||||||
|
- name: check
|
||||||
|
commands:
|
||||||
|
- nix flake check
|
||||||
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
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
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, futils } @ inputs:
|
outputs = { self, nixpkgs, futils } @ inputs:
|
||||||
futils.lib.eachSystem futils.lib.allSystems (system:
|
futils.lib.eachDefaultSystem (system:
|
||||||
let
|
let
|
||||||
inherit (nixpkgs) lib;
|
inherit (nixpkgs) lib;
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
|
|
Loading…
Reference in a new issue