build chain

This commit is contained in:
cupcakearmy 2019-09-27 16:13:51 +02:00
parent df0cb6fd07
commit 179d718a39

View File

@ -2,29 +2,28 @@ kind: pipeline
name: default name: default
steps: steps:
- name: build - name: build
image: node:alpine image: cupcakearmy/pnpm
pull: always pull: always
commands: commands:
- node -v - node -v
- npm i - pnpm --shamefully-flatten i
- npm run build - pnpm run build:prod
#
#
- name: deploy # - name: deploy
image: cupcakearmy/drone-deploy # image: cupcakearmy/drone-deploy
pull: always # pull: always
environment: # environment:
PLUGIN_KEY: # PLUGIN_KEY:
from_secret: ssh_key # from_secret: ssh_key
settings: # settings:
host: srv-0.nicco.io # host: srv-0.nicco.io
user: root # user: root
port: 1312 # port: 1312
target: /srv/web/blog # target: /srv/web/blog
sources: # sources:
- ./liquet # - ./liquet
when: # when:
event: push # event: push
branch: master # branch: master