startpage/.drone.yml

36 lines
564 B
YAML

kind: pipeline
name: default
steps:
- name: build
image: node
commands:
- npm install
- npm run buildProd
- npm run ext:sign
environment:
WEB_EXT_API_KEY:
from_secret: WEB_EXT_API_KEY
WEB_EXT_API_SECRET:
from_secret: WEB_EXT_API_SECRET
- name: gitea_release
image: plugins/gitea-release
settings:
api_key:
from_secret: GITEA_API_KEY
base_url: https://git.kapelle.org
files:
- web-ext-artifacts/*
checksum:
- md5
- sha1
- sha256
when:
event:
- tag
trigger:
event:
- tag