I have a simple question, but I can't find the answer. I've searched everywhere (exaggeration).
Description
I have dedicated server running ubuntu where my nestjs application is running. I am using github for my remote repository and my current deployment process is:
local: git pushpush changes to github repositorylocal: ssh user@IPaccess my server via SSHserver: git pullpull changes to server from github repositoryserver: npm run buildbuild projectserver: pm2 restart myapprestart application
Manual process that take some amount of time.
Question
Can I use Github Actions to automate this process and how? Thank you