DEV Community

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

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

Great work explaining this concept. It is a great starting point to implement it without much effort.
Speaking about implementation, do you know which could be a good job config to execute a build process to deploy the final version of a page? (on angular or react, for example).

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...