Unlocking the Power of Quick & Easy App Deployment on VPS with GitHub Action

Поделиться
HTML-код
  • Опубликовано: 2 окт 2024
  • Learn how to automate your app deployment on a VPS using Github Action. Save time and effort with this quick and easy method of automation deployment.
    Github: github.com/cha...
    Music: www.bensound.com
    #linode #vps #automation #github

Комментарии • 54

  • @QuietSoul1ASMR
    @QuietSoul1ASMR Год назад +3

    I have been looking for a very long time for the solution that you presented in the video, thanks to you, I finally managed to do what I planned. Thank you so much! Even within the framework of this video, it is interesting to learn how to make an automatic build of the application after pulling files to the server

  • @yawning55
    @yawning55 13 дней назад

    really nice i appreciate you

  • @GameBully2K
    @GameBully2K 11 месяцев назад +2

    thank you my friend also one thing that has been helpful for me is the way to make the workflow run node commands in the background. for that I used : nohup your-command > /dev/null 2>&1 &

    • @chabystech
      @chabystech  11 месяцев назад +2

      My pleasure 🙏

  • @rafaelgiusti
    @rafaelgiusti 7 месяцев назад +4

    👍love this demo cause it shows all the real challenges and troubleshooting we ALL face when using this tools 😅great job👏👏

  • @CharcoalDaddyBBQ
    @CharcoalDaddyBBQ 10 месяцев назад +1

    Super helpful video! Thank you!!

  • @packagebattos
    @packagebattos 7 месяцев назад +1

    hey, can i and how can i run sudo in this? i am using systemd and i dont want to use root user for this so i need to use like `sudo systemctl `

    • @chabystech
      @chabystech  7 месяцев назад

      If you are wondering on the main.yml file how to use in the curent script check this link stackoverflow.com/questions/75374398/how-do-i-restart-a-systemd-service-from-github-action-with-a-conditional-if-stat

  • @greaterist
    @greaterist Год назад +2

    doesn't work for me. Getting "handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain" error

    • @chabystech
      @chabystech  Год назад

      Make sure to have your ssh key in github setup and locally generate it.

  • @dipereira0123
    @dipereira0123 2 месяца назад +1

    Honest video! the errors and struggle make it very realistic to the programmers daily routine =) thanks for sharing the knowledge

  • @sosweetham
    @sosweetham Год назад +8

    one of the best i have seen on this topic, you even showed problems that could be encountered instead of editing them out, very helpful thanks :D

    • @chabystech
      @chabystech  Год назад +1

      Thank you. Yes, I prefer to keep it real. Great comment is very helpful

  • @subhadippahari185
    @subhadippahari185 Год назад +1

    great video

  • @abasifrekeessien3628
    @abasifrekeessien3628 7 месяцев назад +1

    Thank you so much! Your tutorial is super amazing and helpful. Keep the great work.

    • @chabystech
      @chabystech  7 месяцев назад +1

      Glad it help, thank you 🙂

  • @قناةالمهاجر-س2م
    @قناةالمهاجر-س2م 8 месяцев назад +1

    Cool Video ! You can add also instruction to clone the repo under script section and like u can use on any repo as a variable

    • @chabystech
      @chabystech  8 месяцев назад

      Thanks for the tip!

  • @developer3254
    @developer3254 4 месяца назад

    i added public key my github sshkey and authorization key added but given this error
    2024/05/16 19:13:25 ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
    can you give me help how to solve it

    • @chabystech
      @chabystech  4 месяца назад

      You have missed a step. Check the video step by step. Make sure to generate the ssh properly from server

  • @dezo1604
    @dezo1604 Год назад +1

    if i try to run "npm run build" for my Nuxt/Vue App i get errors that node version 14 or higher is required and im using version 12. But i connect manually to my server and run "npm run build" it works. That i can do to fix this?

    • @chabystech
      @chabystech  Год назад

      You need to update your node version. It should work.

    • @chabystech
      @chabystech  Год назад

      Also, you can check the version specified in the GitHub action, instead running npm install before build try npm ci

    • @dezo1604
      @dezo1604 Год назад +1

      I’ve found the problem. I was using nvm but the GitHub action was not. Fixed it and now everything works like a charm. Thank you!

    • @chabystech
      @chabystech  Год назад

      Happy it's sorted 😀

  • @reganstudio7107
    @reganstudio7107 3 месяца назад +1

    Thank you, I spent 2 hours just to connect to the ssh until I saw this video

    • @chabystech
      @chabystech  3 месяца назад +1

      Welcome glad it helped

  • @sanketsonar1288
    @sanketsonar1288 Год назад +1

    This video was very helpful for me ...

  • @DivijShrivastava
    @DivijShrivastava 11 месяцев назад +1

    This is really helpful. Thanks for this video. Do you have any idea if it's possible to just push your build file to vps server and then run it on the server using github actions?

    • @chabystech
      @chabystech  7 месяцев назад

      sorry for the delay, for vps server it's a bit tricky but, yes you can do it but there is some configuration in the WHM you need to do in order to make it work. But it's the same concept

  • @er.anilkumarthakur1493
    @er.anilkumarthakur1493 Год назад +1

    awesome video sir
    suppose i have setup bare repository in the serve then how can i push to bare repository ...using github action

    • @chabystech
      @chabystech  Год назад

      Check if this helps gist.github.com/joahking/780877

  • @exganza
    @exganza Год назад +1

    Thank you so much! Your tutorial was incredibly helpful. Keep up the great work.

  • @geetjoshi9541
    @geetjoshi9541 Год назад +1

    Thank you for this awesome video on this topic, and thanks for keeping it real, it was very helpful

  • @captainkite
    @captainkite Год назад +1

    This was very helpful. Thank you

  • @localguide6360
    @localguide6360 Год назад +1

    love your videos i was waiting for you to upload 🤩

  • @kutpat
    @kutpat Год назад +1

    thank you

  • @adx69
    @adx69 Год назад +1

    Nice ❤

  • @aswinpg6868
    @aswinpg6868 10 месяцев назад +1

    This was really helpfull. Thanks!

    • @chabystech
      @chabystech  10 месяцев назад +1

      Most welcome, glad it helped 😊

  • @willy1kk
    @willy1kk 10 месяцев назад +1

    THANKSSS MANNNN !!!

    • @chabystech
      @chabystech  10 месяцев назад +1

      anytime glad it help🙂

  • @vivekmakwana3298
    @vivekmakwana3298 Год назад +1

    Worked without much efforts. Thanks a lot

  • @kingsmanSmBanglaGaming
    @kingsmanSmBanglaGaming Год назад +1

    thanks

  • @tomasdvoracek6098
    @tomasdvoracek6098 Год назад

    are you really using root for this?

    • @chabystech
      @chabystech  Год назад

      I don't get your question. What is the definition of root ? Root of the folder ? Once you're in the terminal, you can be anywhere and perform any action.

    • @nicknameis
      @nicknameis 11 месяцев назад

      @@chabystech Do you do it using root user on ubuntu?
      Can we make an ssh connections using different (than root) user?

    • @chabystech
      @chabystech  11 месяцев назад

      @nicknameis, for sure, if you have a user created on Ubuntu. You can log in as this user, but make sure that the user has the right permissions needed to perform some commands