From f3a105d45e76b5d7e3c57ad2dcc21760d205f669 Mon Sep 17 00:00:00 2001 From: Anton Medvedev Date: Fri, 13 Nov 2020 21:47:43 +0100 Subject: [PATCH] Update README.md --- README.md | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 4695269..7d9710a 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,19 @@ # GitHub Action for Deployer +```yaml + - name: Deploy + uses: deployer/deploy@v1 + with: + private-key: ${{ secrets.PRIVATE_KEY }} + known-hosts: ${{ secrets.KNOWN_HOSTS }} + dep: deploy prod -v +``` + ## Inputs -### `private-key` - -Required. A private key to accessing servers. - -### `known-hosts` - -Optional. Host fingerprints. If omitted `StrictHostKeyChecking=no` will be used. - -### `dep` - -Arguments to pass to Deployer command. +- `private-key` - Required. A private key to accessing servers. +- `known-hosts` - Optional. Host fingerprints. If omitted `StrictHostKeyChecking=no` will be used. +- `dep` - Required. Arguments to pass to Deployer command. ## Deployer version @@ -36,7 +37,7 @@ deploy: with: php-version: 7.4 - name: Deploy - uses: deployphp/action@v1 + uses: deployer/deploy@v1 with: private-key: ${{ secrets.PRIVATE_KEY }} known-hosts: ${{ secrets.KNOWN_HOSTS }}