Deploying Preview Environments on Koyeb for GitHub Pull Requests

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

Our great sponsors
  • WorkOS - The modern API for authentication & user identity.
  • LearnThisRepo.com - Learn 300+ open source libraries for free using AI.
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • To get started, visit the preview environments example repository and fork it into your account.

  • koyeb-actions

    An Action to install and configure koyeb cli

    The actual workflow steps are fairly simple. First, it installs the Koyeb CLI using the koyeb-community/install-koyeb-cli action. You may notice that this step references a secret called KOYEB_API_TOKEN. You will have to configure this for your fork later on.

  • WorkOS

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

  • action-git-deploy

    The second step builds and deploys the pull request branch on Koyeb using the koyeb/action-git-deploy action. The pull request branch name can be found in the github.head_ref context object. We use this to specify the branch to deploy and to name the Koyeb App and Service. The remaining lines configure the port and routing that the application expects.

  • starter-workflows

    Accelerating new GitHub Actions workflows

    In this tutorial, we will explain how to automatically deploy your application using GitHub Actions each time a pull request is made for your GitHub repository.

  • Puts Debuggerer

    Ruby library for improved puts debugging, automatically displaying bonus useful information such as source line number and source code.

    A GitHub account to host your repositories configure the pull request preview integration.

  • Express

    Fast, unopinionated, minimalist web framework for node.

    To demonstrate how to set up preview environments for a GitHub repository, we'll work with an example repository containing a basic Node.js web app built with Express. The application responds to requests with a simple "hello world" message.

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