16 lines
No EOL
440 B
YAML
16 lines
No EOL
440 B
YAML
# .woodpecker.yml
|
|
platform: linux/arm64
|
|
|
|
pipeline:
|
|
build:
|
|
image: node:18-alpine
|
|
commands:
|
|
- sudo apt update
|
|
- sudo apk add git
|
|
- npm update
|
|
- npm install
|
|
- mkdir build
|
|
- npm run build
|
|
- ls build
|
|
- npx gitea-release "https://jusax.de/git/api/v1/" "$${GITEA_TOKEN}" "$${CI_REPO}" "$${CI_COMMIT_BRANCH}" "$${CI_COMMIT_TAG}" "build" "$${CI_COMMIT_MESSAGE}"
|
|
secrets: [ gitea_token ] |