mirror of
https://github.com/simon987/task_tracker.git
synced 2025-12-16 00:09:03 +00:00
Jenkins CI setup
This commit is contained in:
13
jenkins/deploy.sh
Normal file → Executable file
13
jenkins/deploy.sh
Normal file → Executable file
@@ -1,4 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
#!/bin/bash
|
||||
|
||||
cp web/angular/dist/ /home/drone/task_tracker/webroot/
|
||||
echo "test"
|
||||
export TTROOT="task_tracker"
|
||||
|
||||
chmod 755 -R "${TTROOT}/webroot"
|
||||
|
||||
screen -S tt_api -X quit
|
||||
echo "starting client"
|
||||
screen -S tt_api -d -m bash -c "cd ${TTROOT} && ./tt_api"
|
||||
sleep 1
|
||||
screen -list
|
||||
|
||||
Reference in New Issue
Block a user