Skip to content

Action - Deployer php

Actions
Use your Deployer PHP script with your github action workflow
v0.2.0
Latest
Star (36)

Action - Deployer PHP

Usage

musps/action-deployer-php@master

Example

- name: Deploy to prod server
  uses: musps/action-deployer-php@master
  with:
    args: deploy prod
   env:
    SSH_PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}

Definition

  • Set your ssh private key in your repository secrets.
  • Set the file and command as argument .
  • Current Deployer PHP version: 6.8.0

Demo workflows

  • Run the deployment on branch prefixed by releases/x.
name: Test action Deployer PHP

on:
  push:
    branches:
      - 'releases/*'

jobs:
  build:
    name: Deploy code to prod
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v1
      - name: Deploy
        uses: musps/action-deployer-php@master
        with:
          args: deploy prod
        env:
          SSH_PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}

About

Action - Deployer php is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Use your Deployer PHP script with your github action workflow
v0.2.0
Latest

Action - Deployer php is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.