ci: make use of 'nix build' directly
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Bruno BELANYI 2022-06-20 14:44:38 +02:00
parent 26c48b3561
commit 7357104f20

View file

@ -5,7 +5,7 @@ name: deploy CV
steps: steps:
- name: build - name: build
commands: commands:
- nix develop -c make - nix build
- name: check - name: check
commands: commands:
@ -15,7 +15,8 @@ steps:
commands: commands:
- nix run github:ambroisie/nix-config#drone-rsync - nix run github:ambroisie/nix-config#drone-rsync
environment: environment:
SYNC_SOURCE: '*.pdf' # Use trailing slash to sync to folder's *content* to the target
SYNC_SOURCE: 'result/share/'
SYNC_HOST: SYNC_HOST:
from_secret: ssh_host from_secret: ssh_host
SYNC_TARGET: SYNC_TARGET: