CI Plugin to execute commands on a remote host through SSH. See Drone SSH and Drone SCP for more information.
Add the following command to your CI configuration file:
fluentci run --wasm ssh setup
Name | Description |
---|---|
setup | Install drone-ssh and drone-scp |
x | Execute a command on a remote host |
scp | Copy files to a remote host |
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/[email protected]?wasm=1", "setup", vec!["latest"])?;
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