1 ! Copyright (C) 2008, 2010 Slava Pestov.
2 ! See https://factorcode.org/license.txt for BSD license.
3 USING: hashtables http.client io.files.temp io.pathnames kernel
4 mason.common mason.config namespaces sequences ;
7 : make-docs-archive ( -- )
10 "docs.tar.gz" temp-file suffix
13 ] with-cache-directory ;
15 : upload-docs-archive ( -- )
16 "docs.tar.gz" temp-file
19 docs-directory get "docs.tar.gz" append-path
23 status-secret get "secret" associate