mirror of
https://github.com/deployphp/action.git
synced 2025-06-29 04:34:15 +00:00
Set private-key
as non required (#49)
Co-authored-by: benjaminmal <bbenben778@gmail.com>
This commit is contained in:
parent
56e7af68da
commit
162add4f19
3 changed files with 17 additions and 13 deletions
14
README.md
14
README.md
|
@ -4,8 +4,8 @@
|
|||
- name: Deploy
|
||||
uses: deployphp/action@v1
|
||||
with:
|
||||
private-key: ${{ secrets.PRIVATE_KEY }}
|
||||
dep: deploy
|
||||
private-key: ${{ secrets.PRIVATE_KEY }}
|
||||
```
|
||||
|
||||
## Inputs
|
||||
|
@ -14,16 +14,16 @@
|
|||
- name: Deploy
|
||||
uses: deployphp/action@v1
|
||||
with:
|
||||
# Private key for connecting to remote hosts. To generate private key:
|
||||
# `ssh-keygen -o -t rsa -C 'action@deployer.org'`.
|
||||
# Required.
|
||||
private-key: ${{ secrets.PRIVATE_KEY }}
|
||||
|
||||
# The deployer task to run. For example:
|
||||
# `deploy all`.
|
||||
# Required.
|
||||
dep: deploy
|
||||
|
||||
# Private key for connecting to remote hosts. To generate private key:
|
||||
# `ssh-keygen -o -t rsa -C 'action@deployer.org'`.
|
||||
# Optional.
|
||||
private-key: ${{ secrets.PRIVATE_KEY }}
|
||||
|
||||
# Content of `~/.ssh/known_hosts` file. The public SSH keys for a
|
||||
# host may be obtained using the utility `ssh-keyscan`.
|
||||
# For example: `ssh-keyscan deployer.org`.
|
||||
|
@ -87,6 +87,6 @@ jobs:
|
|||
- name: Deploy
|
||||
uses: deployphp/action@v1
|
||||
with:
|
||||
private-key: ${{ secrets.PRIVATE_KEY }}
|
||||
dep: deploy
|
||||
private-key: ${{ secrets.PRIVATE_KEY }}
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue