diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Config.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Config.hs b/src/Config.hs index 885e9a8..bf026ff 100644 --- a/src/Config.hs +++ b/src/Config.hs @@ -169,13 +169,13 @@ parsePublish ownName = withSeq "Publish list" $ mapM $ parsePush :: Node Pos -> Parser [ JobPush Declared ] parsePush = withSeq "Push list" $ mapM $ withMap "Push specification" $ \m -> do - source <- m .: "source" + source <- m .: "commit" jpushSource <- case T.split (== '.') source of [ repo, sel ] | sel == "commit" -> return $ currentCommitExpr (RepoName repo) _ -> mzero - destination <- m .: "destination" + destination <- m .: "to" jpushDestination <- case T.split (== '.') destination of [ repo, sel ] | [ fn, bname, fn' ] <- T.split (== '"') sel |