In this video we will setup automatic deployments using Github Actions.
Anson’s YouTube Channel:
https://www.youtube.com/user/DatAdam93
Github Actions Page:
https://github.com/features/actions
Timestamps:
0:00 – Introduction & Demo
3:07 – Setting up Github Actions
4:07 – Setting up Workflow File
8:07 – Setting up Github Action Runner
14:37 – Setting up NGINX
21:09 – Pointing domain to our Server
22:17 – React Routing with NGINX
22:52 – Setting up Expressjs API
30:14 – Proxy Passing with NGINX
39:04 – Setting up Server Block
40:53 – Securing our Website
source
Do you have any video on how to autodeploy it on google cloud?
Nice tutorial – really; but it should be renamed to Automatic Deployment with NGINX š
This is the best video EVERR !!!! THANKKKSS
Great tutorial. It should be `location /api/ { rewrite … }` with the trailing slash. If you leave it off, '/apifhjbcfdh' gets rewritten.
Is it possible to do automatic deployment for Oracle Database using GITHUB actions
try using darkmode..
Thanks for the helpful video!
I think I'm not the only one feeling this way but… If our startups "shine" in the near future it will be because of people like Brad and Anson! Great Tutorial!
Dude! This shouldn't be called github actions, This is "how to setup your whole life" ! Amazing video!
Nice and really helpful for JavaScript. How can one do similar automation with django?
This video is so helpful thanks!
While running tests on the actual server, wouldn't it make the server slower?
Is there a way to build the files on the action and just copy the built files to the server?
Thanks for the good work, it's very detailed and helpful. Keep up.
Thank you for this video, helped me setup actions for the first time. Very good.
I'm getting this error. What it is. Error: ./setup.sh: line 23: [: /home/jainmiah/actions-runner/cd: binary operator expected
What does it mean to run self-hosted vs. ubuntu? Is there a basic distinction for how the runner and the app's scripts interface?
awesome
I have implemented ci/cd successfully following this tutorial….but i'm facing a problem regarding env variable….my project depends on .env file and as i can't keep the env file in my repo obviously….so how can i generate .env file from github action so everytime i push i don't have to create .env file manually?
Great video! Thank you
Nice demonstration. I don't think it's a good practice to make your production server a gh actions runner.
Done ā I implemented successfully. Thank you š
Ewe Anne Asmelash Gebremariam Tigraway Eye sellam nialemna yiminey
Never delete this video… Bookmarked for life!
@09:00 How did you set up "the other" terminal? No prior mention of it, just jumped into it. Not too helpful for beginners.
BRINGING A GUN for a FIST FIGHT – SICK OF ALL THS GITHUB IDIOTS
how to protect some files from being overwritten?
Nice Shot ! I've been looking for this for few days. Thank You !
I keep getting a `Main process exited, code=exited, status=203/EXEC` error when I run sudo ./svh.sh start. Runner is on CentOS server on DigitalOcean. Any idea what I can do?
great video !
Awesomeness Fabulous… Thanks for this video
Does the solution break if the build step will not success? For te react app, when GA detect push, the runner will purge the local files and try to build the app. If the build fails, the files will be broken and nginx will serve broken site. Am I wrong? Or the react cares about broken builds and do not touch the output directory until it is sure that the build will work?
this is great.
This guy is just amazing ā¤ļøā¤ļøā¤ļø
why shouldnt we install globally pm2 inside the server with the sudo command?
Thank you very much! I had already my server in the root of my instance, and the /actions-runner folder is created in there as well, then when you make your first "deploy" with the actions, it creates again the repo within the /actions-runner folder. So i had to kill all processes from the server i had before, remove it and then i was able to see the actual server attached to the action deploys runining with the changes made on the master branch. Just in any case you guys have the same issue
āļø
Thank you. You made my Day ā„ļø ā„ļø ā„ļø ā„ļø
hi i have setup the same application on my centos server its working fine till my terminal is alive. but once i close the terminal it stop .. and i have to run everytime npm stat in my project how can i run it with out terminal
i was trying to do the same thing using web-hooks, for a .net project. but i see the GitHub actions are more convenient way to do this kind CICD. This tutorial is really cool. Thanks to Traversy Media and specially Anson and Brad. Superb job.
Hi Brad. Thanks for the lessons. My question is, I host on Digital ocean. Do I regard it as a self-hosted?
Thanks for the tutorial.
Very tough to follow along. So many diversions without background explanations. Not suitable for someone who wants to learn this thing from scratch. Might be helpful for someone with prior knowledge
Nice.
Hey, How do we handle env files through this then? I am trying to create env with github secrets but it's creating the variables with empty data. Any idea?
Help me what is the path setting in nginx server for laravela application ?
Ewe Anne Asmelash Gebremariam Tigraway Eye sellam nialemna yiminey