deploy-react-to-ghpages icon indicating copy to clipboard operation
deploy-react-to-ghpages copied to clipboard

This Action will automate the process of building and depolying react app to gh-pages.

Deploy React app to gh-pages

This Action will automate the process of building and depolying react app to gh-pages.

Action

Add this action inside your Repository's Actions

name: React app deployment

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  build:

    runs-on: ubuntu-latest
    
    steps:
    - uses: actions/checkout@v2

    - name: Deploy react app to github pages
      uses: tanwanimohit/[email protected]