Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fbc5cb9

Browse files
committed
Update README.md
1 parent 5b08472 commit fbc5cb9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ The action will export an environment variable called `DEPLOYMENT_STATUS` that y
178178
If you'd prefer to use an SSH deploy key as opposed to a token you must first generate a new SSH key by running the following terminal command, replacing the email with one connected to your GitHub account.
179179

180180
```bash
181-
ssh-keygen -t rsa -b 4096 -C "[email protected]" -N ""
181+
ssh-keygen -t rsa -m pem -b 4096 -C "[email protected]" -N ""
182182
```
183183

184184
Once you've generated the key pair you must add the contents of the public key within your repository's [deploy keys menu](https://developer.github.com/v3/guides/managing-deploy-keys/). You can find this option by going to `Settings > Deploy Keys`, you can name the public key whatever you want, but you **do** need to give it write access. Afterwards add the contents of the private key to the `Settings > Secrets` menu as `DEPLOY_KEY`.
@@ -187,7 +187,7 @@ With this configured you must add the `ssh-agent` step to your workflow and set
187187

188188
```yml
189189
- name: Install SSH Client 🔑
190-
uses: webfactory/ssh-agent@v0.2.0
190+
uses: webfactory/ssh-agent@v0.4.1
191191
with:
192192
ssh-private-key: ${{ secrets.DEPLOY_KEY }}
193193

0 commit comments

Comments
 (0)