This repository just tracks code changes of our feature branch preview Orb, which is already public under CircleCi but there's no easy way to track changes between versions.
An Orb that can be used to connect via SSH to a remote server running a Docker daemon to spin up containers that serve preview apps with code taken from GitHub PRs.
The link of the newly created app will be posted in your PR, into the Deployments section.
Add the following to your CircleCI configuration:
version: 2.1
orbs:
feature-branch: nebulab/feature-branch-preview
workflows:
cool-workflow:
jobs:
- feature-branch/preview:
domain: <domain-for-preview-apps>
github_repo: <your-github-repository>
github_token: <your-gh-auth-token>
letsencrypt_email: <email-for-ssl-cert>
server: <docker-server-to-run-containers>
user: <docker-server-user>
The orb-tools Orb is used for publishing development and production versions of this Orb.
Bug reports and pull requests are welcome!
feature-branch-preview is copyright © 2019 Nebulab. It is free software, and may be redistributed under the terms specified in the CircleCI Orbs License.
feature-branch-preview is funded and maintained by the Nebulab team.
We firmly believe in the power of open-source. Contact us if you like our work and you need help with your project design or development.