2022-11-06 20:48:20 +01:00
|
|
|
# .woodpecker.yml
|
2022-11-07 20:18:53 +01:00
|
|
|
platform: linux/arm64
|
2022-11-07 20:16:07 +01:00
|
|
|
|
2022-11-06 20:48:20 +01:00
|
|
|
pipeline:
|
|
|
|
build:
|
2022-11-08 16:14:52 +01:00
|
|
|
image: node:18-alpine
|
2022-11-06 20:48:20 +01:00
|
|
|
commands:
|
2022-11-08 20:46:28 +01:00
|
|
|
- npm update
|
2022-11-08 20:17:21 +01:00
|
|
|
- npm install
|
2022-11-07 19:28:07 +01:00
|
|
|
- mkdir build
|
2022-11-07 19:30:23 +01:00
|
|
|
- npm run build
|
2022-11-07 21:12:26 +01:00
|
|
|
- ls build
|
2022-11-08 16:12:49 +01:00
|
|
|
- npx gitea-release "https://jusax.de/git/api/v1/" "$${GITEA_TOKEN}" "$${CI_REPO}" "$${CI_COMMIT_BRANCH}" "$${CI_COMMIT_TAG}" "build" "$${CI_COMMIT_MESSAGE}"
|
2022-11-08 15:15:21 +01:00
|
|
|
secrets: [ gitea_token ]
|