Use /auth-token for stackage-upload
commit6fd0449c9000c85683e27967d086d50ad6e43509
authorMichael Snoyman <michael@snoyman.com>
dateMon 16 Jun 2014, 13:08 (12 years ago)
parentb5a96fa
stackage-upload.hs+1−1
@@ -9,7 +9,7 @@ import System.Exit (exitFailure)
99main :: IO ()
1010main = withManager defaultManagerSettings $ \m -> do
1111 args <- getArgs
12− token <- getEnv "STACKAGE_AUTH_TOKEN"
12+ token <- readFile "/auth-token"
1313 (filepath, alias) <-
1414 case args of
1515 [x, y] -> return (x, y)