Add deployment command

This commit is contained in:
Dhananjay Balan 2019-01-08 15:46:39 -05:00
parent 02cabfc326
commit 47e606e2bf

10
site.hs
View File

@ -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 ()