From 8422c27d82408f9738393a2900a8972e36f31120 Mon Sep 17 00:00:00 2001 From: Richard Henkenjohann Date: Sun, 30 Jun 2024 13:26:50 +0200 Subject: [PATCH] Deprecate options input. --- README.md | 7 +------ action.yaml | 1 + 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 7a6d1ed..0d0e4af 100644 --- a/README.md +++ b/README.md @@ -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 }} ``` diff --git a/action.yaml b/action.yaml index f69e11f..c798138 100644 --- a/action.yaml +++ b/action.yaml @@ -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