mirror of
https://github.com/deployphp/action.git
synced 2024-11-27 06:09:01 +00:00
428 B
428 B
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']})