From a6bfdb15ee51ec2bfd8a3f4a41cf33b4b1b5b0b3 Mon Sep 17 00:00:00 2001 From: Orestis <orestis.malaspinas@hesge.ch> Date: Sun, 15 Nov 2020 00:55:35 +0100 Subject: [PATCH] updated stuff --- hakyll-bootstrap/Main.hs | 7 +------ hakyll-bootstrap/cours/prog_seq | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/hakyll-bootstrap/Main.hs b/hakyll-bootstrap/Main.hs index 2089df6..3516f25 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 63bd36c..ba1dc25 160000 --- a/hakyll-bootstrap/cours/prog_seq +++ b/hakyll-bootstrap/cours/prog_seq @@ -1 +1 @@ -Subproject commit 63bd36c8e5e66a2b94b2364e4cef57ecc2a2d7a3 +Subproject commit ba1dc25d0faaee655532afa34b5fd8c250ec13c9 -- GitLab