【文件属性】:
文件名称:ssh-setup-action:设定SSH
文件大小:51KB
文件格式:ZIP
更新时间:2021-05-05 12:22:13
ssh github-actions JavaScript
ssh设置动作
设定SSH
用法
name : Example
on : [push]
jobs :
example :
name : Example
runs-on : ubuntu-latest
steps :
- name : Setup SSH
uses : MrSquaare/ssh-setup-action@v1
with :
host : github.com
private-key : ${{ secrets.SSH_PRIVATE_KEY }}
例子
单键和克隆
name : Clone repository
on : [push]
jobs :
clone :
name : Clone
runs-on : ubuntu-latest
steps :
【文件预览】:
ssh-setup-action-master
----.gitignore(112B)
----tsconfig.json(207B)
----README.md(2KB)
----.github()
--------workflows()
----LICENSE(1KB)
----package.json(638B)
----node_modules()
--------@actions()
----src()
--------index.ts(3KB)
----.dcignore(32B)
----.codacy.yml(54B)
----action.yml(391B)
----yarn.lock(1KB)
----lib()
--------index.js(4KB)