Skip to content

Devops: self hosted GitHub Action

Helmut Wolman edited this page Aug 24, 2024 · 1 revision

Instructions

  1. create a user adduser <user>
  2. add user to sudo group adduser <user> sudo
  3. login to the user sudo su - <user>
  4. install nvm
  5. close and reopen your terminal to start using nvm
  6. install latest long-term support node nvm install --lts
  7. use the latest long-term support node nvm use --lts
  8. install pm2 globally npm install pm2 -g
  9. add self-hosted runner on the server source
  10. run the runner as a service on the server source

GitHub Action file

the YAML file is placed here

Issues

project works on local machine but not the GitHub actions #84