on master help sign in
ob deploy: On successful deploy commit everything
ee69d2eLuigy Leon
lib/command/src/Obelisk/Command/Deploy.hs+1−1
@@ -98,7 +98,7 @@ deployPush deployPath = do
98 when (not isClean) $ do
98 when (not isClean) $ do
99 withSpinner "Commiting changes to Git" $ do
99 withSpinner "Commiting changes to Git" $ do
100 callProcessAndLogOutput (Debug, Error) $ proc "git"
100 callProcessAndLogOutput (Debug, Error) $ proc "git"
101− ["-C", deployPath, "add", "--update"]
101+ ["-C", deployPath, "add", "."]
102 callProcessAndLogOutput (Debug, Error) $ proc "git"
102 callProcessAndLogOutput (Debug, Error) $ proc "git"
103 ["-C", deployPath, "commit", "-m", "New deployment"]
103 ["-C", deployPath, "commit", "-m", "New deployment"]
104 where
104 where