ligths-webapp/.drone.yml

20 lines
311 B
YAML
Raw Normal View History

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:14:48 +01:00
- rm -rf /home/andr3/services/ligths-webserver/*
2023-07-11 21:05:10 +01:00
- mv build/* /home/andr3/services/ligths-webserver
2023-07-11 20:08:02 +01:00
trigger:
branch:
- main
node:
lights: builder