diff --git a/README.md b/README.md index 7f62e8e..4564b34 100644 --- a/README.md +++ b/README.md @@ -26,11 +26,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'`. @@ -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 }} ``` 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