summaryrefslogtreecommitdiff
path: root/deploy
diff options
context:
space:
mode:
Diffstat (limited to 'deploy')
-rwxr-xr-xdeploy21
1 files changed, 0 insertions, 21 deletions
diff --git a/deploy b/deploy
index 3c5c89b..dda2e7f 100755
--- a/deploy
+++ b/deploy
@@ -35,30 +35,9 @@
(print "-- syncing assets --")
($ rsync ;rsync-asset-args)
-(print "-- creating service locally--")
-(def template (slurp "service/tinygram.service.template"))
-
-(print "-- decrypting env --")
-($ agebox decrypt --all)
-(def envfile (slurp "prod.env"))
-($ agebox encrypt --all)
-(print "-- encrypting env --")
-
-(def env-statements
- (filter (fn [s] (not (empty? s)))
- (string/split "\n" envfile)))
-
-(def env-block (string ;(map (fn [env] (string "Environment=\"" env "\"\n")) env-statements)))
-
-(spit "service/tinygram.service"
- (peg/replace "<1>\n" env-block template))
-
(print "-- syncing service --")
($ rsync ;rsync-service-args)
-(print "-- cleaning up service locally --")
-($ rm "service/tinygram.service")
-
(print "-- cleaning up binary --")
($ rm "tinygram")