Skip to content

sparkbox/mina-deploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Deploy your site via Mina and MinaCircle

Setup

$ docker run -it --rm -v ${PWD}:/deploy sparkbox/mina-deploy init

You need to put your mina circle token in the .env file for your project. If you are already using mina-circle it should be in ~/.mina-circle.yml, or you can generate a new one on CircleCI.

Refer to the mina-circle docs for further configuration. After this, you can run the setup command.

$ docker run -it --rm -v ${PWD}:/deploy sparkbox/mina-deploy setup

Deploy

Default

$ docker run -it --rm --env-file=.env -v ~/.ssh:/root/.ssh:ro -v ${PWD}:/deploy:ro sparkbox/mina-deploy deploy

Branch

$ docker run -it --rm --env-file=.env -v ~/.ssh:/root/.ssh:ro -v ${PWD}:/deploy:ro sparkbox/mina-deploy deploy branch="branch-name"

Environment

$ docker run -it --rm --env-file=.env -v ~/.ssh:/root/.ssh:ro -v ${PWD}:/deploy:ro sparkbox/mina-deploy deploy on="env-name"

Releases

No releases published

Packages

No packages published