Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Create a dev deployment based on a branch #124

@jonny-wg2

Description

@jonny-wg2

Problem: One must always clone the repo and run the website locally to experience and see a change that is being worked on in a PR.
Goal: How can we automate a solution to deploy a dev website on netlify.com based on a pull request.

Idea solution (could be a better solution but what comes to my mind)

  1. Developer create a branch with their proposed changes
  2. We create a github action that will be triggered on say a label being added to a pr. The github action would rebase the PR on a separate branch, e.g. dev-pages
  3. We configure netlify.com to deploy a site from the branch dev-pages
  4. We can all go to "wgtwo-dev.netlify.com" to see the changes from the PR

Note: I haven't done much googling on best way to solve this problem but used netlify in the past.
Additional background: The current deployment is using github pages with github actions to build and deploy the site.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions