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 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 users/fcuny/resume/.drone.yml (limited to '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 -- cgit v1.2.3 From 37bc4248220fe94d47772f974d80c58fc375bb16 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 7 May 2022 18:18:35 -0700 Subject: simplify the build Running `nix build` is enough to generate the file `resume.html`. It will be created in the `result` directory automatically. The configuration for the build is also updated to run `nix build` --- users/fcuny/resume/.drone.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'users/fcuny/resume/.drone.yml') diff --git a/users/fcuny/resume/.drone.yml b/users/fcuny/resume/.drone.yml index 9639cb1..0cffea5 100644 --- a/users/fcuny/resume/.drone.yml +++ b/users/fcuny/resume/.drone.yml @@ -5,4 +5,5 @@ name: default steps: - name: build commands: - - nix run .#publishHTML + - nix build + - ls -l result/ -- cgit v1.2.3