mirror of
https://github.com/webfactory/ssh-agent.git
synced 2024-11-24 10:07:59 +00:00
Update README.md (#147)
Update `actions/checkout` to `@v3` and make it syntactically correct in order to allow copy and paste. Co-authored-by: Matthias Pigulla <mp@webfactory.de>
This commit is contained in:
parent
2996779c08
commit
18ff7066d3
1 changed files with 3 additions and 4 deletions
|
@ -35,13 +35,12 @@ jobs:
|
||||||
my_job:
|
my_job:
|
||||||
...
|
...
|
||||||
steps:
|
steps:
|
||||||
- actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
# Make sure the @v0.7.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.7.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.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue