Updated build

This commit is contained in:
Nicolai Ort 2021-04-14 17:35:03 +02:00
parent 866d0c6396
commit a43386fd6f

View File

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