2023-07-11 20:08:02 +01:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: exec
|
|
|
|
name: Build and deploy
|
|
|
|
|
|
|
|
steps:
|
2023-07-11 20:11:11 +01:00
|
|
|
- name: Build
|
|
|
|
commands:
|
2023-07-11 20:12:15 +01:00
|
|
|
- node --version | grep 20
|
2023-07-11 20:13:17 +01:00
|
|
|
- pnpm i
|
2023-07-11 20:11:11 +01:00
|
|
|
- pnpm build
|
2023-07-11 21:02:42 +01:00
|
|
|
- mv build/* /home/services/services/ligths-webserver
|
|
|
|
- ls /home/services/services/ligths-webserver
|
2023-07-11 20:08:02 +01:00
|
|
|
|
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- main
|
|
|
|
node:
|
|
|
|
lights: builder
|