Skip to content
forked from Raynes/dox

A leiningen plugin for creating/updating gh-pages.

License

Notifications You must be signed in to change notification settings

katlex/github-cdn

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clojars Project

github-cdn

A leiningen plugin to publish files to github pages service (aka github CDN)

Usage

  1. Install leiningen.

  2. 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"})
  1. Run lein github-cdn in your project root. Optionally provide a comment lein github-cdn released few files

Release notes

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

Acknowledgements

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.

About

A leiningen plugin for creating/updating gh-pages.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Clojure 100.0%