diff options
author | Franck Cuny <franck@fcuny.net> | 2022-05-07 17:53:34 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-05-07 17:53:34 -0700 |
commit | 3fdd3ad757000937ce5641d39baa14e1c6c6f8ec (patch) | |
tree | 5f97b927b23f740167c7179a21a605dbf4a2b3d6 | |
parent | initial commit (diff) | |
download | world-3fdd3ad757000937ce5641d39baa14e1c6c6f8ec.tar.gz |
drone: add configuration
-rw-r--r-- | users/fcuny/resume/.drone.yml | 8 | ||||
-rw-r--r-- | users/fcuny/resume/flake.nix | 1 |
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 |