GitHub Action for Deployer
Go to file
2020-11-11 01:49:10 +03:00
node_modules Add n_m 2020-11-10 23:12:02 +01:00
action.yaml Rename action 2020-11-10 23:25:45 +01: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 01:49:10 +03:00

action

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