You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-18Lines changed: 16 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,30 +3,26 @@ Setup an SSH socket with a private key.
3
3
4
4
## Usage
5
5
### Inputs
6
-
#### `host`
7
-
**Required** Remote hostname
8
6
9
-
#### `port`
10
-
**Optional** SSH port
7
+
Following inputs can be used as `step.with` keys
11
8
12
-
This is only necessary if the SSH server does not listen on port 22. It is used to retrieve the host key so it can be trusted for host key verification.
|`socket-path`| Path at which socket was created |
30
26
31
27
### Example usage
32
28
- name: SSH Socket Setup
@@ -36,11 +32,11 @@ Path at which socket was created.
36
32
host: github.com
37
33
port: 22 # optional
38
34
socket-path: /tmp/ssh_agent.sock
39
-
key: {BASE64_SECRET_KEY}
35
+
key: ${{ secrets.BASE64_SECRET_KEY }}
40
36
41
37
- name: Use SSH socket
42
38
run: ls -l "${{ steps.ssh-socket-action.outputs.socket-path }}"
43
-
39
+
44
40
## Development
45
41
Make `ncc` available in your build environment:
46
42
@@ -54,6 +50,8 @@ Build `dist/index.js`:
54
50
55
51
ncc build index.js
56
52
53
+
---
54
+
57
55
### Install as Local Action
58
56
For quicker troubleshooting cycles, the action can be copied directly into another project. This way, changes to the action and it's usage can happen simultaneously, in one commit.
0 commit comments