33 lines
634 B
YAML
33 lines
634 B
YAML
|
workspace:
|
||
|
base: /usr/src
|
||
|
path: app
|
||
|
|
||
|
pipeline:
|
||
|
build:
|
||
|
image: node:16
|
||
|
commands:
|
||
|
- apt update && apt install -y ruby ruby-dev && gem install sass
|
||
|
- npm install
|
||
|
- npm run grunt
|
||
|
|
||
|
package_linux:
|
||
|
image: electronuserland/builder:16
|
||
|
commands:
|
||
|
- npm install
|
||
|
- npm run build-linux
|
||
|
when:
|
||
|
event: tag
|
||
|
|
||
|
gitea_release:
|
||
|
image: plugins/gitea-release
|
||
|
settings:
|
||
|
api_key:
|
||
|
from_secret: gitea_api_key
|
||
|
base_url: https://git.metaunix.net
|
||
|
title: "${CI_COMMIT_TAG}"
|
||
|
files:
|
||
|
- dist/sentry*.deb
|
||
|
- dist/sentry*.rpm
|
||
|
when:
|
||
|
event: tag
|