GitHub Action for Deployer
Go to file
2020-11-13 23:17:45 +03:00
node_modules Add n_m 2020-11-10 23:12:02 +01:00
action.yaml Update and rename action.yml to action.yaml 2020-11-13 23:17:45 +03:00
index.js Add catch 2020-11-10 23:05:39 +01:00
LICENSE Add action 2020-11-10 23:03:10 +01:00
package-lock.json Add action 2020-11-10 23:03:10 +01:00
package.json Add action 2020-11-10 23:03:10 +01:00
README.md Update README.md 2020-11-11 04:10:29 +03:00

GitHub Action for Deployer

Example

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