29 lines
476 B
YAML
29 lines
476 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-center
|
|
- git fetch --all
|
|
- git reset --hard origin/monorepo
|
|
- name: install
|
|
commands:
|
|
- cd /home/pi/warframe-center
|
|
- npm install
|
|
- name: build
|
|
commands:
|
|
- cd /home/pi/warframe-center/app
|
|
- npm run build
|
|
- name: start
|
|
commands:
|
|
- cd /home/pi/warframe-center/app
|
|
- npm run start
|