archon-electron/.woodpecker.yml
Gregory Ballantine c72bf02d66
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
Fixed the woodpecker config to upload .deb files
2022-05-22 16:29:55 -04:00

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/archon*.deb
- dist/archon*.rpm
when:
event: tag