about summary refs log tree commit diff
path: root/users/fcuny
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-05-07 17:53:34 -0700
committerFranck Cuny <franck@fcuny.net>2022-05-07 17:53:34 -0700
commit3fdd3ad757000937ce5641d39baa14e1c6c6f8ec (patch)
tree5f97b927b23f740167c7179a21a605dbf4a2b3d6 /users/fcuny
parentinitial commit (diff)
downloadworld-3fdd3ad757000937ce5641d39baa14e1c6c6f8ec.tar.gz
drone: add configuration
Diffstat (limited to 'users/fcuny')
-rw-r--r--users/fcuny/resume/.drone.yml8
-rw-r--r--users/fcuny/resume/flake.nix1
2 files changed, 9 insertions, 0 deletions
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