Skip to content

mycelium-com/action-bashless-deploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Action - Bashless Deploy

GitHub Action (yml) to trigger deploy on remote server(s).

Supports:

  • Multiple hosts
  • Private key authentication

Example usage

Basic Example

- name: Bashless Deploy
  uses: mycelium-com/action-bashless-deploy@master
  with:
    hosts: [email protected]
    privateKey: ${{ secrets.DEPLOYER_SSH_KEY }}

Inputs

command: Command(s) to execute on the remote server.

hosts: Hostname or IP address of the remote server(s). Separate multiple servers with a blank space. Example: "[email protected]:22 [email protected]:2222"

privateKey: The private key (id_rsa) content for authenticating to the SSH server(s). Recommended to store it as a GitHub Secret.

Outputs

The output from the commands ran on the remote server(s).

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published