diff --git a/site.hs b/site.hs index b36df87..b334cf3 100644 --- a/site.hs +++ b/site.hs @@ -10,8 +10,16 @@ import Text.Regex (splitRegex, mkRegex) -------------------------------------------------------------------------------- config :: Configuration +{- +deploy command expects www to point to web server - this is the current config +Host www + Hostname 10.1.10.30 + User root + ProxyJump dj@ares.dbalan.in +-} config = defaultConfiguration { - destinationDirectory = "public" + destinationDirectory = "public" + , deployCommand = "rsync -vrP public/ www:/usr/local/www/nginx/blog/" } main :: IO ()