stackage-curator-0.15.0.0: Tools for curating Stackage bundles

Safe HaskellNone
LanguageHaskell2010

Stackage.Curator.UploadDocs

Description

Upload Haddock documentation to S3.

Synopsis

Documentation

uploadDocs Source #

Arguments

:: FilePath

directory containing docs

-> FilePath

the bundle file

-> Text

name of current docs, used as prefix in object names

-> Text

bucket name

-> IO () 

Uses newEnv for S3 credentials.

upload Source #

Arguments

:: MonadResource m 
=> Bool

compression?

-> Env 
-> Text 
-> Text 
-> Consumer ByteString m ()