Update README.md

This commit is contained in:
Anton Medvedev 2020-11-11 01:49:10 +03:00 committed by GitHub
parent d4bc7eff8a
commit 2f29f33490
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,2 +1,23 @@
# action # action
GitHub Action for Deployer GitHub Action for Deployer
## Example
```yaml
deploy:
name: Deploy to prod
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Setup PHP
uses: shivammathur/setup-php@master
with:
php-version: 7.4
- name: Deploy
uses: deployphp/action@v1
with:
private-key: ${{ secrets.PRIVATE_KEY }}
known-hosts: ${{ secrets.KNOWN_HOSTS }}
dep: deploy prod -v
```