Deployer on GitHub Actions

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • deployer-on-github-actions-example

    Example Repository showcasing how to run deployer on GitHub Actions

  • This article will go into detail how to write the GitHub Actions workflows and gives you examples on how to trigger these workflows. I will not cover how to configure deployer itself. Accompanying this article is an example Laravel application with example workflows for different deployment scenarios. If you like to read code first you can have a look at the repository on GitHub (I will reference this example project throughout the article).

  • Capistrano

    A deployment automation tool built on Ruby, Rake, and SSH.

  • deployer is a deployment tool written in PHP. It comes with "Zero Downtime Deployments" out of the box and can be extended by writing simple PHP code. (capistrano would be the equivalent in the Ruby world).

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • action

    GitHub Action for Deployer (by deployphp)

  • All example workflows will use the deployphp/action GitHub Action. The Action is maintained by the same people who make deployer.

  • Deployer

    The PHP deployment tool with support for popular frameworks out of the box

  • Today I would like to share with you my approach on how I deploy my PHP applications with deployer through GitHub Actions. This might sound counterintuitive, as deploying with deployer is already easy: Running a CLI command and youre done.

  • cache

    Cache dependencies and build outputs in GitHub Actions

  • The cache-documentation has an example on how to use it with composer. Let's apply it to our default workflow. Here is our adjusted workflow to cache composer dependencies when a deployment is manually triggered.

  • action-release

    GitHub Action for creating a release on Sentry

  • The Sentry team published their own GitHub Action to make this super easy. Add the following block at the end of your workflow, replace the values for SENTRY_ORG and SENTRY_PROJECT and add your Sentry auth token to your repository or organisation secrets.

  • ama

    Ask me anything! (by stefanzweifel)

  • If you have any questions, let me know via Twitter, through email or by joining the discussion in my AMA repository.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • cli

    GitHub’s official command line tool

  • In addition to the web UI and the GitHub API, the workflow can be triggered by using the GitHub CLI.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts