$ 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
$ docker run -it --rm --env-file=.env -v ~/.ssh:/root/.ssh:ro -v ${PWD}:/deploy:ro sparkbox/mina-deploy deploy
$ docker run -it --rm --env-file=.env -v ~/.ssh:/root/.ssh:ro -v ${PWD}:/deploy:ro sparkbox/mina-deploy deploy branch="branch-name"
$ docker run -it --rm --env-file=.env -v ~/.ssh:/root/.ssh:ro -v ${PWD}:/deploy:ro sparkbox/mina-deploy deploy on="env-name"