mirror of
https://github.com/deployphp/action.git
synced 2025-04-01 19:06:35 +00:00
Merge 8422c27d82
into f60b28c08a
This commit is contained in:
commit
a9aeea615e
2 changed files with 2 additions and 6 deletions
|
@ -27,11 +27,6 @@
|
|||
# Optional
|
||||
sub-directory: "..."
|
||||
|
||||
# Config options for the Deployer. Same as the `-o` flag in the CLI.
|
||||
# Optional.
|
||||
options:
|
||||
keep_releases: 7
|
||||
|
||||
# Private key for connecting to remote hosts. To generate private key:
|
||||
# `ssh-keygen -o -t rsa -C 'action@deployer.org'`.
|
||||
# Optional.
|
||||
|
@ -109,6 +104,6 @@ jobs:
|
|||
- name: Deploy
|
||||
uses: deployphp/action@v1
|
||||
with:
|
||||
dep: deploy
|
||||
dep: deploy -o keep_releases=7
|
||||
private-key: ${{ secrets.PRIVATE_KEY }}
|
||||
```
|
||||
|
|
|
@ -22,6 +22,7 @@ inputs:
|
|||
required: false
|
||||
default: ''
|
||||
description: List of options for the Deployer.
|
||||
deprecationMessage: Please pass options with the "-o option=value" syntax to the "dep" command.
|
||||
|
||||
private-key:
|
||||
required: false
|
||||
|
|
Loading…
Add table
Reference in a new issue