Skip to content
Snippets Groups Projects
Unverified Commit a6bfdb15 authored by orestis.malaspin's avatar orestis.malaspin
Browse files

updated stuff

parent f701e6b3
No related branches found
No related tags found
No related merge requests found
Pipeline #12596 passed
......@@ -352,12 +352,7 @@ config = defaultConfiguration
where
deploy :: Configuration -> IO ExitCode
deploy _c = do
branch <- Process.readProcess
"git" ["rev-parse", "--abbrev-ref", "HEAD"] ""
case words branch of
["master"] -> Process.rawSystem "rsync"
Process.rawSystem "rsync"
[ "--checksum", "-avzz"
, "_site/", "ur1bg_malas@ur1bg.ftp.infomaniak.com:web/malaspinas/beta/"
]
_ -> fail $
"I don't know how to deploy the branch " ++ show branch
Subproject commit 63bd36c8e5e66a2b94b2364e4cef57ecc2a2d7a3
Subproject commit ba1dc25d0faaee655532afa34b5fd8c250ec13c9
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment