ci: Add npm bulid
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
moanos [he/him] 2024-07-31 15:05:33 +02:00
parent 8124b08b88
commit a886d6575f

View File

@ -3,7 +3,11 @@
steps: steps:
build:
image: node:latest
commands:
- npm install
- npm run build
deploy: deploy:
image: appleboy/drone-scp image: appleboy/drone-scp
settings: settings:
@ -14,6 +18,6 @@ steps:
from_secret: ssh_user from_secret: ssh_user
target: target:
from_secret: path from_secret: path
source: src/ source: public/
key: key:
from_secret: ssh_key from_secret: ssh_key