1
0
Fork 0

Introduce force push for git proxy

This commit is contained in:
Malte Brandy 2019-11-10 10:28:02 +01:00
parent 253352c2e9
commit 0268dcb776

View file

@ -26,7 +26,7 @@ let
mirror <- lookupEnv "GL_OPTION_MIRROR"
for_ mirror $ \mirror -> do
echo ([i|Forwarding push to #{mirror}|] :: String)
git "push" "--all" mirror
git "push" "--all" "-f" mirror
deploy <- lookupEnv "GL_OPTION_WEB_DEPLOY"
for_ deploy $ \deploy -> do
path <- pwd |> captureTrim