          '[deraen.boot-sass :refer [sass]]
          '[pandeiro.boot-http :refer [serve]]
          '[confetti.boot-confetti :refer [create-site sync-bucket]]
+         '[hashobject.boot-s3 :refer :all]
          '[org.martinklepsch.boot-gzip :refer [gzip]])
 
 (task-options!
-  pom {:project 'perun.io :version "0.2.0"})
+  pom {:project 'perun.io :version "0.2.0"}
+  s3-sync {
+    :bucket "perun.io"
+    :access-key (System/getenv "AWS_ACCESS_KEY")
+    :secret-key (System/getenv "AWS_SECRET_KEY")
+    :source "public"
+    :options {"Cache-Control" "max-age=315360000, no-transform, public"}})
 
 (deftask build
   "Build dev version"

          (markdown :options {:extensions {:smarts true}})
          (slug
            :slug-fn (fn [_ m]
              (:short-filename m)
              )
            )
          (permalink)
          (print-meta)
          (render :renderer 'io.perun.site/guide-page :filterer guide?)

  :dependencies '[[hiccup "1.0.5"]
                  [perun "0.4.2-SNAPSHOT"]
                  [confetti "0.1.2-SNAPSHOT"]
                  [hashobject/boot-s3 "0.1.2-SNAPSHOT"]
                  [deraen/boot-sass "0.2.1"]
                  [org.slf4j/slf4j-nop "1.7.13" :scope "test"]
                  [pandeiro/boot-http "0.7.3"]
