28 lines
528 B
YAML
28 lines
528 B
YAML
|
# .woodpecker.yml
|
||
|
platform: linux/arm64
|
||
|
|
||
|
pipeline:
|
||
|
build:
|
||
|
image: node:18-alpine
|
||
|
commands:
|
||
|
- apk add git
|
||
|
- npm ci
|
||
|
- mkdir build
|
||
|
- npm run bundleRelease
|
||
|
buildBin:
|
||
|
image: node:18
|
||
|
commands:
|
||
|
- npm run build-arm
|
||
|
- mkdir upload
|
||
|
- cp build/bin/* upload
|
||
|
publish:
|
||
|
image: woodpeckerci/plugin-gitea-release
|
||
|
settings:
|
||
|
base_url: https://codeberg.org
|
||
|
files:
|
||
|
- "upload/*"
|
||
|
api_key:
|
||
|
from_secret: gitea_token
|
||
|
|
||
|
depends_on:
|
||
|
- test
|