Use Github Action to deploy React app to Surge
Reading Time: 2 minutes Generate a personal access token and create ACCESS_TOKEN variable under Settings -> Secrets. Keep the personal access token in a safe place and do not lose it npm script commands Add script commands “build” and “clean” to build application and generate artifacts in dist/ directory Run “npm run build” to build static application before deployment … Read more