Skip to content

ideos/ssh-flyway-action

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SSH Flyway Action

This actions runs flyway commands over ssh

Inputs

migrations_path

dbms

db_name

db_port

db_user

db_password

ssh_host

Remote host where docker is running

ssh_port

SSH port on remote host

ssh_user

SSH user on remote host

ssh_key

SSH private key used to access to remote server. Better save it into repository secrets.

Example usage

steps:
  # need checkout before using docker-compose-remote-action
  - uses: actions/checkout@v2
  - uses: chaplyk/docker-compose-remote-action@v1.1
    with:
      migrations_path: conf/migrations
      dbms: postgres
      db_name: ${{ secrets.DB_NAME }}
      db_port: 5432
      db_user: ${{ secrets.DB_USER }}
      db_password: ${{ secrets.DB_PASSWORD }}
      ssh_host: 127.0.0.1
      ssh_user: username
      ssh_key: ${{ secrets.SSH_KEY }}
  

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 90.6%
  • Dockerfile 9.4%