diff --git a/.woodpecker.yml b/.woodpecker.yml index 4a0476c..b88da38 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -3,7 +3,11 @@ steps: - + build: + image: node:latest + commands: + - npm install + - npm run build deploy: image: appleboy/drone-scp settings: @@ -14,6 +18,6 @@ steps: from_secret: ssh_user target: from_secret: path - source: src/ + source: public/ key: from_secret: ssh_key \ No newline at end of file