Visit packagecloud.io/api_token and get your API token before proceeding.
:plugins section of your project.clj:plugins [[lein-maven-packagecloud-wagon "0.0.1"]]
:deploy-repositories to point to your packagecloud repository, like so:(We are setting our snapshot and release repositories to the same, feel free to make them different)
:deploy-repositories [["releases" {:url "packagecloud-https://packagecloud.io/myuser/myrepo"}]
["snapshots" {:url "packagecloud-https://packagecloud.io/myuser/myrepo"}]]
:auth profile in ~/.lein/profiles.clj{:auth {:repository-auth {#"packagecloud.*" {:username "" :password "009a80sd8as98a99980s0s9s"}}}}
lein deployThat's it!
Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |