aboutsummaryrefslogtreecommitdiff
path: root/.drone.yml
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-05-10 17:56:40 -0700
committerFranck Cuny <franck@fcuny.net>2022-05-10 17:57:41 -0700
commit1270dbff9ca7f13900d8ab0ce0011aa626029623 (patch)
treef554ac5f81be34b6c0f24a2523612151036ac049 /.drone.yml
parentstatic: add my resume as a static page (diff)
downloadfcuny.net-1270dbff9ca7f13900d8ab0ce0011aa626029623.tar.gz
add drone configuration and cleanup nix
Add a drone configuration to run the deploy on a push to the main branch. Cleanup the nix configuration to only keep support for `nix run` (which will run the hugo server).
Diffstat (limited to '')
-rw-r--r--.drone.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml
new file mode 100644
index 0000000..7c0c283
--- /dev/null
+++ b/.drone.yml
@@ -0,0 +1,18 @@
+kind: pipeline
+type: exec
+name: default
+
+trigger:
+ event:
+ - push
+ branch:
+ - master
+
+steps:
+ - name: deploy
+ environment:
+ FLY_API_TOKEN:
+ from_secret: FLY_API_TOKEN
+ commands:
+ - nix develop
+ - ./script/deploy.sh