Liking cljdoc? Tell your friends :D
Clojure only.

automaton-build.project.impl.clever-cloud-deploy

Code here is regarding all interactions with clever cloud. Design decision: Interaction with clever cloud is by using git.

Alternatively it could be done by using clever CLI, but currently we don't need any features that can't be done by simply manipulating the repository in the git. Which is a simpler option in terms of complexity (no need for API to check), while still being flexible (a lot of options to manipulate in git). Additionally this doesn't require to install the clever cloud cli.

Code here is regarding all interactions with clever cloud.
Design decision:
Interaction with clever cloud is by using git.

Alternatively it could be done by using clever CLI, but currently we don't need any features that can't be done by simply manipulating the repository in the git. Which is a simpler option in terms of complexity (no need for API to check), while still being flexible (a lot of options to manipulate in git). Additionally this doesn't require to install the clever cloud cli.
raw docstring

clone-repoclj

(clone-repo target-dir uri repo-name)

Clones clever repo from uri to a target-dir, repo will be stored as repo-name. Returns the path to the repository.

Clones clever repo from `uri` to a `target-dir`, repo will be stored as `repo-name`.  Returns the path to the repository.
raw docstring

deployclj

(deploy dir)
(deploy dir msg)

Deploys to clever-cloud, returns true if succesfull. Params:

  • dir where clever git repository that should be deployed resides.
  • msg (optional) a commit message for the deploy
Deploys to clever-cloud, returns true if succesfull.
Params:
* `dir` where clever git repository that should be deployed resides.
* `msg` (optional) a commit message for the deploy
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close