Deprecate options input.

This commit is contained in:
Richard Henkenjohann 2024-06-30 13:26:50 +02:00
parent 280404946f
commit 8422c27d82
No known key found for this signature in database
GPG key ID: EDAE0CA5CCDA3AF8
2 changed files with 2 additions and 6 deletions

View file

@ -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 }}
```

View file

@ -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