GitHub Action for Deployer
Go to file
2021-10-15 23:07:42 +02:00
node_modules Update action 2021-10-15 22:41:54 +02:00
action.yaml Add deployer-version 2021-10-15 23:07:42 +02:00
index.js Add deployer-version 2021-10-15 23:07:42 +02:00
LICENSE Update action 2021-10-15 22:41:21 +02:00
package-lock.json Update action 2021-10-15 22:41:21 +02:00
package.json Update action 2021-10-15 22:41:21 +02:00
README.md Add deployer-version 2021-10-15 23:07:42 +02:00

GitHub Action for Deployer

  - name: Deploy
    uses: deployphp/action@v1
    with:
      private-key: ${{ secrets.PRIVATE_KEY }}
      dep: deploy

Inputs

See action.yaml.

Example

jobs:
  deploy:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2

      - name: Setup PHP
        uses: shivammathur/setup-php@v2
        with:
          php-version: '8.0'

      - name: Deploy
        uses: deployphp/action@v1
        with:
          private-key: ${{ secrets.PRIVATE_KEY }}
          dep: deploy