updated .drone.yml
This commit is contained in:
parent
4ff005de5b
commit
60ec867809
1 changed files with 11 additions and 11 deletions
22
.drone.yml
22
.drone.yml
|
@ -8,7 +8,7 @@ platform:
|
|||
|
||||
steps:
|
||||
- name: build
|
||||
image: node:slim
|
||||
image: node:12.20.1-buster@sha256:ce4f3c9c90400203824d1029f068fd826e2ec64226f2109eb0745681550e5972
|
||||
commands:
|
||||
- npm install
|
||||
- npm run build:ssr
|
||||
|
@ -22,11 +22,11 @@ steps:
|
|||
from_secret: USERNAME
|
||||
password:
|
||||
from_secret: PASSWORD
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
event:
|
||||
- push
|
||||
when:
|
||||
branch:
|
||||
- main
|
||||
event:
|
||||
- push
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
|
@ -39,7 +39,7 @@ platform:
|
|||
|
||||
steps:
|
||||
- name: build
|
||||
image: node:alpine
|
||||
image: node:12.20.1-buster@sha256:4f006d33bdf44b35d18a867043738510f60526697c7d4118ea38b334f86ae0eb
|
||||
commands:
|
||||
- npm install
|
||||
- npm run build:ssr
|
||||
|
@ -56,7 +56,7 @@ steps:
|
|||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
- main
|
||||
event:
|
||||
- push
|
||||
|
||||
|
@ -71,7 +71,7 @@ platform:
|
|||
|
||||
steps:
|
||||
- name: build
|
||||
image: node:alpine
|
||||
image: node:12.20.1-buster@sha256:37d6f1cfdef57f170dce16d72ed21c5d463bed4a6ed340c056ef91cb94e39199
|
||||
commands:
|
||||
- npm install
|
||||
- npm run build:ssr
|
||||
|
@ -88,7 +88,7 @@ steps:
|
|||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
- main
|
||||
event:
|
||||
- push
|
||||
|
||||
|
@ -125,6 +125,6 @@ depends_on:
|
|||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
- main
|
||||
event:
|
||||
- push
|
||||
|
|
Reference in a new issue