Compare commits
3 commits
2a50374691
...
d73cadf0c3
| Author | SHA1 | Date | |
|---|---|---|---|
| d73cadf0c3 | |||
| 2a856bd231 | |||
| d8f14cd212 |
2 changed files with 6 additions and 3 deletions
|
|
@ -7,12 +7,15 @@ steps:
|
|||
commands:
|
||||
- nix develop -c make
|
||||
|
||||
- name: check
|
||||
commands:
|
||||
- nix flake check
|
||||
|
||||
- name: deploy
|
||||
commands:
|
||||
- nix run github:ambroisie/nix-config#drone-scp
|
||||
environment:
|
||||
SCP_SOURCE: /drone/src/*.pdf
|
||||
SCP_STRIP_COMPONENTS: 2 # Make sure the tarball doesn't contain leading path
|
||||
SCP_SOURCE: '*.pdf'
|
||||
SCP_RM: true # Make sure only the newly generated files are left
|
||||
SCP_HOST:
|
||||
from_secret: ssh_host
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
};
|
||||
|
||||
outputs = { self, nixpkgs, futils } @ inputs:
|
||||
futils.lib.eachSystem futils.lib.allSystems (system:
|
||||
futils.lib.eachDefaultSystem (system:
|
||||
let
|
||||
inherit (nixpkgs) lib;
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue