diff --git a/hakyll-bootstrap/Main.hs b/hakyll-bootstrap/Main.hs index 2089df6a7a6e9f1dc48130f536f2d7a953d9a2a1..3516f25ff066c541e0e65d3a2e217fd1b2369f31 100644 --- a/hakyll-bootstrap/Main.hs +++ b/hakyll-bootstrap/Main.hs @@ -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 diff --git a/hakyll-bootstrap/cours/prog_seq b/hakyll-bootstrap/cours/prog_seq index 63bd36c8e5e66a2b94b2364e4cef57ecc2a2d7a3..ba1dc25d0faaee655532afa34b5fd8c250ec13c9 160000 --- a/hakyll-bootstrap/cours/prog_seq +++ b/hakyll-bootstrap/cours/prog_seq @@ -1 +1 @@ -Subproject commit 63bd36c8e5e66a2b94b2364e4cef57ecc2a2d7a3 +Subproject commit ba1dc25d0faaee655532afa34b5fd8c250ec13c9