Updated build

This commit is contained in:
Nicolai Ort 2021-04-14 17:35:03 +02:00
parent 866d0c6396
commit a43386fd6f
1 changed files with 3 additions and 5 deletions

View File

@ -18,8 +18,7 @@ type: kubernetes
name: build:tag
steps:
- name: run electron packager
depends_on: ["clone"]
- name: build
image: node:15.11.0-alpine3.13
commands:
- apk add squashfs-tools git zip
@ -32,7 +31,6 @@ steps:
- rm -rf squashfs-root out electron.zip
- zip -r dist/lfk-scanclient-live_${DRONE_TAG}_x64.zip slax
- name: gitea_release
depends_on: ["run electron packager"]
image: plugins/gitea-release
settings:
title: Release ${DRONE_TAG}
@ -69,7 +67,7 @@ steps:
author_email: bot@odit.services
followtags: false
branch: main
remote: git@git.odit.services:lfk/scanclient-electron.git
remote: git@git.odit.services:lfk/scanclient-live.git
skip_verify: true
ssh_key:
from_secret: git_ssh
@ -84,7 +82,7 @@ steps:
author_email: bot@odit.services
followtags: true
branch: main
remote: git@git.odit.services:lfk/scanclient-electron.git
remote: git@git.odit.services:lfk/scanclient-live.git
skip_verify: true
ssh_key:
from_secret: git_ssh