Skip to content

Latest commit

 

History

History
59 lines (42 loc) · 1.36 KB

README.md

File metadata and controls

59 lines (42 loc) · 1.36 KB

Ssh Plugin

fluentci pipeline ci

CI Plugin to execute commands on a remote host through SSH. See Drone SSH and Drone SCP for more information.

🚀 Usage

Add the following command to your CI configuration file:

fluentci run --wasm ssh setup

Functions

Name Description
setup Install drone-ssh and drone-scp
x Execute a command on a remote host
scp Copy files to a remote host

Code Usage

Add fluentci-pdk crate to your Cargo.toml:

[dependencies]
fluentci-pdk = "0.1.9"

Use the following code to call the plugin:

use fluentci_pdk::dag;

// ...

dag().call("https://pkg.fluentci.io/ssh@v0.1.0?wasm=1", "setup", vec!["latest"])?;

📚 Examples

Github Actions:

- name: Setup Fluent CI CLI
  uses: fluentci-io/setup-fluentci@v5
  with:
    wasm: true
    plugin: ssh
    args: |
      setup
 - name: Verify installation
   run: |
      type drone-ssh
      type drone-scp