Add deployment command
This commit is contained in:
parent
02cabfc326
commit
47e606e2bf
10
site.hs
10
site.hs
@ -10,8 +10,16 @@ import Text.Regex (splitRegex, mkRegex)
|
|||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
config :: Configuration
|
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 {
|
config = defaultConfiguration {
|
||||||
destinationDirectory = "public"
|
destinationDirectory = "public"
|
||||||
|
, deployCommand = "rsync -vrP public/ www:/usr/local/www/nginx/blog/"
|
||||||
}
|
}
|
||||||
|
|
||||||
main :: IO ()
|
main :: IO ()
|
||||||
|
Loading…
Reference in New Issue
Block a user