Skip to content

Commit f3a105d

Browse files
committed
Update README.md
1 parent 071ce25 commit f3a105d

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

README.md

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
# GitHub Action for Deployer
22

3-
## Inputs
4-
5-
### `private-key`
6-
7-
Required. A private key to accessing servers.
8-
9-
### `known-hosts`
10-
11-
Optional. Host fingerprints. If omitted `StrictHostKeyChecking=no` will be used.
3+
```yaml
4+
- name: Deploy
5+
uses: deployer/deploy@v1
6+
with:
7+
private-key: ${{ secrets.PRIVATE_KEY }}
8+
known-hosts: ${{ secrets.KNOWN_HOSTS }}
9+
dep: deploy prod -v
10+
```
1211
13-
### `dep`
12+
## Inputs
1413
15-
Arguments to pass to Deployer command.
14+
- `private-key` - Required. A private key to accessing servers.
15+
- `known-hosts` - Optional. Host fingerprints. If omitted `StrictHostKeyChecking=no` will be used.
16+
- `dep` - Required. Arguments to pass to Deployer command.
1617

1718
## Deployer version
1819

@@ -36,7 +37,7 @@ deploy:
3637
with:
3738
php-version: 7.4
3839
- name: Deploy
39-
uses: deployphp/action@v1
40+
uses: deployer/deploy@v1
4041
with:
4142
private-key: ${{ secrets.PRIVATE_KEY }}
4243
known-hosts: ${{ secrets.KNOWN_HOSTS }}

0 commit comments

Comments
 (0)