Skip to content
Snippets Groups Projects
Commit 57d610c0 authored by Jonas Zohren's avatar Jonas Zohren :speech_balloon:
Browse files

Test if CI can register and start server as supervisord service

parent dfd2a7b1
Branches
No related tags found
No related merge requests found
Pipeline #19223 passed
stages:
- "deploy"
......@@ -13,12 +12,15 @@ deploy_to_uberspace:
- "npm --version"
script:
- "rm -rf $CODE_DIR/* || true"
- "rm -rf $CODE_DIR/.* || true"
- "mkdir -p $CODE_DIR/"
- "mv ./deployment/prod.ini /home/oh14/etc/services.d/wa-game-state-server-prod.ini"
- "mv ./* $CODE_DIR/"
- "mkdir -p $DATA_DIR"
- "cd $CODE_DIR/"
- "npm install"
- "npm run build"
- "supervisorctl reread"
- "supervisorctl update"
- "supervisorctl status wa-game-state-server-prod"
only:
- "main"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment