dwyl / dwyl/learn-devops

Deploy master branch to Production and any other branch to Staging

Open
#21 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Shell
Stars
443
Forks
177
PR merge metrics
No merged PRs in 30d

Description

It's occurred to me that `edeliver` is currently only configured to deploy the `master` branch and only deploys to a single environment.
Could we write a script that checks the branch and sets the target deployment environment to `production` if the branch is `master` and deploy to `staging` for every other branch?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.