Skip to content

Latest commit

 

History

History
57 lines (35 loc) · 1.87 KB

README.md

File metadata and controls

57 lines (35 loc) · 1.87 KB

ci-cd-showcase-react

https://master-branch-ci-cd-showcase-react-taogilaaa.surge.sh/

A repository containing implementation of serverless technology + immutable deployments + continuous integration + continuous deployment for frontend (react), the goal is to showcase the benefits of these workflow

Prerequisites

This project requires

Getting Started

Installation

Use the package manager yarn to install dependencies.

yarn

Example

Examples can be found on this project's pull request

Deployment

  • Create a feature branch, and push the commits to this repo, the CI runner will run and detect changes, and deploy the artifacts to surge.sh

Test it yourself

Using this Repository

  1. Create a new branch and push the commits here
  2. [Optional] Create a new pull request!

Using a Fork

  1. Fork this repository
  2. Create github access token to allow travis ci to access repo and write to discussions access token access token
  3. Register and get your surge.sh secret key (on CLI, run surge token must be logged in)
  4. Setup your repository settings on travis ci https://travis-ci.com/USER_NAME/REPO_NAME/settings and add GITHUB_API_TOKEN, SURGE_LOGIN (email) and SURGE_TOKEN travis env
  5. Make a commit and push it !

This project was bootstrapped with Create React App.