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
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • example-preview-environments

  • 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.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • 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