to remote repo (ex: GitHub) and deploy it to other remote hosts from there. So I don't want to store sensitive data such ass api tokens, urls, seceret passwords in remote repo. But without these sensitive data my app won't work.
question: How can I handle these situation?
check environment variables
I want to clone from gitHub and deploy it with pm2 deploy to remote host for clarification
have you used heroku before try it
https://12factor.net/
Обсуждают сегодня