Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1.09 KB

README.md

File metadata and controls

35 lines (25 loc) · 1.09 KB

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"