mirror of
https://github.com/deployphp/action.git
synced 2025-02-20 18:30:27 +00:00
Deprecate options input.
This commit is contained in:
parent
280404946f
commit
8422c27d82
2 changed files with 2 additions and 6 deletions
|
@ -33,11 +33,6 @@
|
||||||
# Specifies a sub directory within the repository to deploy
|
# Specifies a sub directory within the repository to deploy
|
||||||
# Optional
|
# Optional
|
||||||
sub-directory: "..."
|
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:
|
# Private key for connecting to remote hosts. To generate private key:
|
||||||
# `ssh-keygen -o -t rsa -C 'action@deployer.org'`.
|
# `ssh-keygen -o -t rsa -C 'action@deployer.org'`.
|
||||||
|
@ -116,6 +111,6 @@ jobs:
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
uses: deployphp/action@v1
|
uses: deployphp/action@v1
|
||||||
with:
|
with:
|
||||||
dep: deploy
|
dep: deploy -o keep_releases=7
|
||||||
private-key: ${{ secrets.PRIVATE_KEY }}
|
private-key: ${{ secrets.PRIVATE_KEY }}
|
||||||
```
|
```
|
||||||
|
|
|
@ -22,6 +22,7 @@ inputs:
|
||||||
required: false
|
required: false
|
||||||
default: ''
|
default: ''
|
||||||
description: List of options for the Deployer.
|
description: List of options for the Deployer.
|
||||||
|
deprecationMessage: Please pass options with the "-o option=value" syntax to the "dep" command.
|
||||||
|
|
||||||
private-key:
|
private-key:
|
||||||
required: false
|
required: false
|
||||||
|
|
Loading…
Add table
Reference in a new issue