From 3fdd3ad757000937ce5641d39baa14e1c6c6f8ec Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 7 May 2022 17:53:34 -0700 Subject: drone: add configuration --- users/fcuny/resume/.drone.yml | 8 ++++++++ users/fcuny/resume/flake.nix | 1 + 2 files changed, 9 insertions(+) create mode 100644 users/fcuny/resume/.drone.yml diff --git a/users/fcuny/resume/.drone.yml b/users/fcuny/resume/.drone.yml new file mode 100644 index 0000000..9639cb1 --- /dev/null +++ b/users/fcuny/resume/.drone.yml @@ -0,0 +1,8 @@ +kind: pipeline +type: exec +name: default + +steps: +- name: build + commands: + - nix run .#publishHTML diff --git a/users/fcuny/resume/flake.nix b/users/fcuny/resume/flake.nix index eae54f3..476a981 100644 --- a/users/fcuny/resume/flake.nix +++ b/users/fcuny/resume/flake.nix @@ -7,6 +7,7 @@ in { defaultApp.x86_64-linux = self.publishHTML; + # run with `nix run .#publishHTML` publishHTML = pkgs.writers.writeBashBin "html" '' set -e set -o pipefail -- cgit 1.4.1