diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..1aa41cad65ae462c92bc062c691e1caf3b275177 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,13 @@ +# https://hub.docker.com/r/library/node/tags/ +image: node:latest + +stages: + - deploy + +deploy-job: + stage: deploy + script: + - npm install + - npx pm2 start ./index.js --name=energy-dashboard + only: + - master