tanwanimohit / deploy-react-to-ghpages

This Action will automate the process of building and depolying react app to gh-pages.
https://github.com/marketplace/actions/deploy-react-app-to-github-pages
MIT License
24 stars 12 forks source link
deployment depolying-react 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/deploy-react-to-ghpages@v1.0.2