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 push
push changes to github repositorylocal: ssh user@IP
access my server via SSHserver: git pull
pull changes to server from github repositoryserver: npm run build
build projectserver: pm2 restart myapp
restart application
Manual process that take some amount of time.
Question
Can I use Github Actions to automate this process and how? Thank you