mirror of
https://github.com/webfactory/ssh-agent.git
synced 2025-04-23 22:50:47 +00:00
Merge branch 'master' into patch-1
This commit is contained in:
commit
3b5f9222e4
1 changed files with 5 additions and 6 deletions
11
README.md
11
README.md
|
@ -35,13 +35,12 @@ jobs:
|
||||||
my_job:
|
my_job:
|
||||||
...
|
...
|
||||||
steps:
|
steps:
|
||||||
- actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
# Make sure the @v0.6.0 matches the current version of the
|
# Make sure the @v0.7.0 matches the current version of the action
|
||||||
# action
|
- uses: webfactory/ssh-agent@v0.7.0
|
||||||
- uses: webfactory/ssh-agent@v0.6.0
|
|
||||||
with:
|
with:
|
||||||
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
- ... other steps
|
# ... other steps
|
||||||
```
|
```
|
||||||
5. If, for some reason, you need to change the location of the SSH agent socket, you can use the `ssh-auth-sock` input to provide a path.
|
5. If, for some reason, you need to change the location of the SSH agent socket, you can use the `ssh-auth-sock` input to provide a path.
|
||||||
|
|
||||||
|
@ -53,7 +52,7 @@ You can set up different keys as different secrets and pass them all to the acti
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# ... contents as before
|
# ... contents as before
|
||||||
- uses: webfactory/ssh-agent@v0.6.0
|
- uses: webfactory/ssh-agent@v0.7.0
|
||||||
with:
|
with:
|
||||||
ssh-private-key: |
|
ssh-private-key: |
|
||||||
${{ secrets.FIRST_KEY }}
|
${{ secrets.FIRST_KEY }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue