diff --git a/.drone.yml b/.drone.yml index 42f0a1a..6334fe5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -21,7 +21,6 @@ steps: image: node:14 commands: - npm install - - echo $VUE_APP_API_BASE_URL - npm run lint - npm run build:prod environment: @@ -38,6 +37,15 @@ type: docker name: CopyToServer steps: + - name: build + image: node:14 + commands: + - npm install + - npm run build:prod + environment: + VUE_APP_API_BASE_URL: + from_secret: baseurl + - name: scp files image: appleboy/drone-scp settings: