A leiningen plugin to publish files to github pages service (aka github CDN)
-
Install leiningen.
-
Add a
project.clj
file to your project root.
(defproject my/project "0.0.0"
:plugins [[katlex/github-cdn 1.0.4]]
:github-cdn {;; source directory which content is published
:dir "release"
;; optional repository to publish (picked up from the project git if not specified)
:repository "[email protected]:katlex/github-cdn"
;; branch name to push files too (optional gh-pages is default)
:branch "gh-pages"
;; optional subfolder to publish files to (default is branch root)
:target "subfolder"})
- Run
lein github-cdn
in your project root. Optionally provide a commentlein github-cdn released few files
v0.1.4
Updated me.raynes/fs
Fixed a bug with leading /
in paths
v0.1.3 Pull a branch before pushing it
v0.1.1 Added feature to push to a subdirectory and better error meesages if something goes wrong
v0.1.0 First release
Made on top and under inspiration of Dox
Copyright © 2015-2016 Alexey Lunacharsky
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.