|
|
@ -22,6 +22,8 @@ steps: |
|
|
JWT_SECRET: |
|
|
JWT_SECRET: |
|
|
from_secret: jwt_secret |
|
|
from_secret: jwt_secret |
|
|
commands: |
|
|
commands: |
|
|
|
|
|
- go env -w GO111MODULE=on |
|
|
|
|
|
- go env -w GOPROXY=https://goproxy.cn,direct |
|
|
- mkdir -p /opt/person-home |
|
|
- mkdir -p /opt/person-home |
|
|
- sudo cp person-home /opt/person-home/person-home |
|
|
- sudo cp person-home /opt/person-home/person-home |
|
|
- sudo sh -c 'pkill -x person-home || true; nohup env ADMIN_PASSWORD=$ADMIN_PASSWORD JWT_SECRET=$JWT_SECRET /opt/person-home/person-home >> /tmp/person-home.log 2>&1 &' |
|
|
- sudo sh -c 'pkill -x person-home || true; nohup env ADMIN_PASSWORD=$ADMIN_PASSWORD JWT_SECRET=$JWT_SECRET /opt/person-home/person-home >> /tmp/person-home.log 2>&1 &' |
|
|
|