mirror of
https://github.com/cupcakearmy/liquet.git
synced 2024-12-22 16:16:25 +00:00
build chain
This commit is contained in:
parent
df0cb6fd07
commit
179d718a39
43
.drone.yml
43
.drone.yml
@ -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
|
Loading…
Reference in New Issue
Block a user