Auto deploy reactjs & node app to cpanel using github actions | CI/CD using github actions on cpanel

Hello everyone , in this video i'm going to show you a step by step process on how to deploy your react js application from github to cpanel using github actions.
In this tutorial, you will learn how to publish your changes from development to production and have your changes reflect immediately.
Find the link to the .htaccess config (drive.google.com/file/d/1QqnE...) file to used it for any reactjs application you willl be deploying on cpanel.
Let me know if you don't understand anything.
Please subscribe, like, comment and share it with your friends. This will help the youtube algorithm to suggest it to other users.
Subscribe and turn notification :)
Link to the repo
github.com/techfortified/yout...
Want to support or buy me coffee?
www.buymeacoffee.com/techfort...

Пікірлер: 21

  • @omeatai
    @omeatai Жыл бұрын

    Awesome! Great job. I have subscribed!

  • @farhankhan-hq9ww
    @farhankhan-hq9ww4 ай бұрын

    this is the most useful video I came across, thank you so much my friend.

  • @vinhwebit
    @vinhwebit Жыл бұрын

    this is super helpful. thanks for knowledge

  • @codesermon

    @codesermon

    11 ай бұрын

    Glad to hear that!

  • @jefrycayo4582
    @jefrycayo4582 Жыл бұрын

    It works!!

  • @erikguillen6599
    @erikguillen65992 ай бұрын

    Good job, worked for me.

  • @codesermon

    @codesermon

    2 ай бұрын

    Glad it helped

  • @oleh-kril
    @oleh-kril Жыл бұрын

    Somehow this CI/CD configuration with "homepage" : "./" copy all files of build in a root folder of my Cpanel, not in public_html. How can I fix this ?

  • @jocikam738
    @jocikam738 Жыл бұрын

    Error: getaddrinfo ENOTFOUND *** (control socket) im getting this error everytime... can you help me?

  • @nirvana4623
    @nirvana46237 ай бұрын

    i am having protocol error in provided secrets

  • @VitorHugo-np9qs
    @VitorHugo-np9qs Жыл бұрын

    I'm having trouble in the step to sync files, this error always throw Error: Error: None of the available transfer strategies work. Last error response was 'Error: Timeout when trying to open data connection to {ip}'.... Someone can help me? The folders had been created but the files hadn't

  • @codesermon

    @codesermon

    Жыл бұрын

    ensure your file transfer protocol is ftps as done in the video. Please, follow the video diligently.

  • @VitorHugo-np9qs

    @VitorHugo-np9qs

    Жыл бұрын

    ​@@codesermon I followed the instruction, but i can't do it works... log: creating folder "static/" creating folder "static/css/" creating folder "static/js/" creating folder "static/media/" uploading "asset-manifest.json" Error: None of the available transfer strategies work. Last error response was 'Error: Timeout when trying to open data connection to ${ip}'. at Client.prepareTransfer (/home/runner/work/_actions/SamKirkland/FTP-Deploy-Action/v4.3.4/dist/index.js:4802:19) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Client._uploadFromStream (/home/runner/work/_actions/SamKirkland/FTP-Deploy-Action/v4.3.4/dist/index.js:4490:13) at async Client._uploadLocalFile (/home/runner/work/_actions/SamKirkland/FTP-Deploy-Action/v4.3.4/dist/index.js:4476:20) Error: Error: None of the available transfer strategies work. Last error response was 'Error: Timeout when trying to open data connection to ${ip}. the same error with using protocol FTPS, I can't understand why it can't does the upload of files, I'm trying to do upload at my dir than it isn't public_html, maybe this is the problem? I doing that because the server is shared

  • @efox2001
    @efox20018 ай бұрын

    Is there a reason why the ./build/ directory would be missing?

  • @eldonfox

    @eldonfox

    8 ай бұрын

    To answer my own question. The issue was that I forgot the pipe ("|") in the run command under "Build Project" run: |

  • @victorc.chikezie
    @victorc.chikezie Жыл бұрын

    Nice video. Is this applicable to Nextjs projects too?

  • @codesermon

    @codesermon

    Жыл бұрын

    Yes but nextjs requires certain configurations and SSH access... Stay tuned for a video on that this week too...

  • @100xcoding
    @100xcoding7 ай бұрын

    is this work for private repo also?

  • @codesermon

    @codesermon

    7 ай бұрын

    Yep

  • @razac_zr
    @razac_zr Жыл бұрын

    I'm having hard time accessing the .env file in my nextjs application??? I have add all my variable in the variable section (nodejs application ) but the app seems not to read them files, How can I solve the issue ? @TechFortified