about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-11-06 10:39:04 -0800
committerFranck Cuny <franck@fcuny.net>2022-11-06 10:40:01 -0800
commit269d83e2bca709c6ae7c6e49f89dd5800a08de8e (patch)
tree4373143b6c596e9ca9abac2fa33d00f406fbac49
parentMerge pull request #6 from fcuny/update_flake_lock_action (diff)
downloadfcuny.net-269d83e2bca709c6ae7c6e49f89dd5800a08de8e.tar.gz
ci: add drone's configuration to deploy the site
-rw-r--r--.drone.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml
new file mode 100644
index 0000000..076cfa3
--- /dev/null
+++ b/.drone.yml
@@ -0,0 +1,17 @@
+kind: pipeline
+type: exec
+name: deploy
+
+trigger:
+  event:
+    - push
+  branch:
+    - main
+
+steps:
+  - name: deploy
+    environment:
+      FLY_API_TOKEN:
+        from_secret: FLY_API_TOKEN
+    commands:
+      - nix run .#deploy