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-07 19:28:45 +01:00
|
|
|
image: node:16-alpine
|
2022-11-06 20:48:20 +01:00
|
|
|
commands:
|
2022-11-07 19:28:07 +01:00
|
|
|
- npm ci
|
|
|
|
- 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 15:15:21 +01:00
|
|
|
- node publish.js https://jusax.de/git/api/v1/ $${GITEA_TOKEN} $${CI_REPO} $${CI_COMMIT_BRANCH} $${CI_COMMIT_TAG} build $${CI_COMMIT_MESSAGE}
|
|
|
|
secrets: [ gitea_token ]
|