2023-01-23 21:28:28 +01:00
|
|
|
# .woodpecker.yml
|
|
|
|
platform: linux/arm64
|
|
|
|
|
|
|
|
pipeline:
|
|
|
|
build:
|
|
|
|
image: node:18-alpine
|
|
|
|
commands:
|
|
|
|
- apk add git
|
2023-01-23 21:37:54 +01:00
|
|
|
- apk add ssh
|
2023-01-23 21:28:28 +01:00
|
|
|
- npm install
|
2023-01-23 21:36:20 +01:00
|
|
|
- npm install git@jusax.de:jusax23/gitea-release.git
|
2023-01-23 21:28:28 +01:00
|
|
|
- mkdir build
|
|
|
|
- npm run prepublish
|
|
|
|
- ls dist
|
|
|
|
- npx gitea-release "https://jusax.de/git/api/v1/" "$${GITEA_TOKEN}" "$${CI_REPO}" "$${CI_COMMIT_BRANCH}" "$${CI_COMMIT_TAG}" "dist" "$${CI_COMMIT_MESSAGE}"
|
|
|
|
secrets: [ gitea_token ]
|