22 lines
333 B
YAML
22 lines
333 B
YAML
kind: pipeline
|
|
type: ssh
|
|
name: default
|
|
|
|
server:
|
|
host: 192.168.1.54
|
|
user: pi
|
|
password:
|
|
from_secret: password
|
|
|
|
steps:
|
|
- name: pull
|
|
commands:
|
|
- cd /home/pi/warframe-market-bot
|
|
- git pull
|
|
- name: install
|
|
commands:
|
|
- npm install
|
|
- name: restart
|
|
commands:
|
|
- PM2_HOME='/home/pi/.pm2' pm2 restart warframe-market-bot
|