Skip to content

Simple mina deploy

Actions
Deploy ruby 2.5.0 usign mina
v0.1.1-beta
LatestPre-release
Star (4)

MINA CUSTOM ACTION FOR GITHUB

This action permits to use mina to deploy your application on your vps. It's is based on ruby:2.5.0 docker image. If you want to run with another version of ruby, you can change the Dockerfile and use your forked version.

Inputs

ssh_private_key

Required This is the private ssh key that can access server. Save it to github secrets!

command

Required Mina command to run. 'deploy' for 'mina deploy'.

environment

Required This is environment to deploy. If not provided it runs 'mina deploy' command.

Example usage

  - name: Mina deploy
    id: mina-deploy
    uses: marcosanson/mina-action@v1
    with:
      command: 'deploy'
      ssh_private_key: ${{ secrets.SSHPRIVATEKEY }}

Notes

secrets.SSHPRIVATEKEY:

Create a ssh key that can access server with user you specified in mina config file. Save it to github secrets. You can use this command to generate it: ssh-keygen -t rsa -b 4096 -C

IMPORTANT:

Add the following line to your mina configuration file:

  set :ssh_options, '-o StrictHostKeyChecking=no'

CREDITS:

Mina deploy

Simple mina deploy is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Deploy ruby 2.5.0 usign mina
v0.1.1-beta
LatestPre-release

Simple mina deploy is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.