propellor spin

This commit is contained in:
Joey Hess 2014-11-22 16:10:46 -04:00
parent 392a0d3c1c
commit 6be56755ee
Failed to extract signature
1 changed files with 3 additions and 1 deletions

View File

@ -166,7 +166,9 @@ spin target relay hst = do
void $ actionMessage "Push to central git repository" $
boolSystem "git" [Param "push"]
cacheparams <- toCommand <$> sshCachingParams hn viarelay
cacheparams <- if relaying
then pure []
else toCommand <$> sshCachingParams hn viarelay
when viarelay $
void $ boolSystem "ssh-add" []