actions/deployphp/action-v1/node_modules/webpod
2026-01-31 18:56:04 +01:00
..
dist initial commit of actions 2026-01-31 18:56:04 +01:00
src initial commit of actions 2026-01-31 18:56:04 +01:00
LICENSE initial commit of actions 2026-01-31 18:56:04 +01:00
mod.ts initial commit of actions 2026-01-31 18:56:04 +01:00
package.json initial commit of actions 2026-01-31 18:56:04 +01:00
README.md initial commit of actions 2026-01-31 18:56:04 +01:00
tsconfig.json initial commit of actions 2026-01-31 18:56:04 +01:00

Webpod

import { ssh } from 'webpod'

const $ = ssh('user@host')

const branch = await $`git branch --show-current`
await $`echo ${branch}`

await $`mkdir /tmp/${'foo bar'}`

Installation

npm install webpod
deno install -A -r https://deno.land/x/webpod/webpod.ts

Usage

ssh()

ssh('user@host', {port: 22, options: ['StrictHostKeyChecking=no']})

License

MIT