DEV Community

Discussion on: How to setup GitHub Actions on your Github repository

Collapse
 
gv14982 profile image
Graham Vasquez

Hi Nicolás!

This really depends on where you are going to be deploying the app. If it is on a VPS such as Digital Ocean or Linode, then you would probably just run the build script within the action and transfer the files to your server using something like scp. I know with Netlify you can give it access to your repository, and specify a build command and directory and it will handle the rest.

If you have any more info I can definitely help you out 😊

Collapse
 
nicolasomar profile image
Nicolás Omar González Passerino

My idea is to build the deploy the project using github pages. I have an angular app deployed with that service and I want to try it also with a react repo in the future.
By chance, did you have experience with this case in particular?

Thread Thread
 
gv14982 profile image
Graham Vasquez

Hi Nicolas,

I found this prebuilt Github Action that should do what you want!
github.com/marketplace/actions/dep...