mirror of
https://github.com/deployphp/action.git
synced 2025-02-18 17:40:26 +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
|
||||
# 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'`.
|
||||
|
@ -116,6 +111,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