about summary refs log tree commit diff stats
path: root/fly.toml
diff options
context:
space:
mode:
authorAlan Pearce2024-06-25 17:07:47 +0200
committerAlan Pearce2024-06-25 17:07:47 +0200
commitcd1125a213d742b5a89e8b60f0c7aafef13b8783 (patch)
treeb3271d6883c15eea11252d76b3a7c4c6626e1ded /fly.toml
parent83a4eef89b9906d8ad90411e9b256da6dab07b55 (diff)
downloadwebsite-cd1125a213d742b5a89e8b60f0c7aafef13b8783.tar.lz
website-cd1125a213d742b5a89e8b60f0c7aafef13b8783.tar.zst
website-cd1125a213d742b5a89e8b60f0c7aafef13b8783.zip
fetch and build site on server start
Diffstat (limited to 'fly.toml')
-rw-r--r--fly.toml2
1 files changed, 2 insertions, 0 deletions
diff --git a/fly.toml b/fly.toml
index 5f89c2a..3e68e45 100644
--- a/fly.toml
+++ b/fly.toml
@@ -12,6 +12,8 @@ primary_region = "ams"
 [env]
   PORT = "80"
   TLS = "true"
+  LOCAL_PATH = "/data/website"
+  REMOTE_URL = "https://git.alanpearce.eu/website.git"
 
 [[services]]
   internal_port = 80