mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-01-16 01:08:30 +01:00
Use /auth-token for stackage-upload
This commit is contained in:
parent
b5a96fa26e
commit
6fd0449c90
@ -9,7 +9,7 @@ import System.Exit (exitFailure)
|
||||
main :: IO ()
|
||||
main = withManager defaultManagerSettings $ \m -> do
|
||||
args <- getArgs
|
||||
token <- getEnv "STACKAGE_AUTH_TOKEN"
|
||||
token <- readFile "/auth-token"
|
||||
(filepath, alias) <-
|
||||
case args of
|
||||
[x, y] -> return (x, y)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user