woodpecker-test/.woodpecker.yml
jusax23 c5648d0059
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
test
2022-11-08 20:55:27 +01:00

15 lines
No EOL
629 B
YAML

# .woodpecker.yml
platform: linux/arm64
pipeline:
build:
image: node:18-alpine
commands:
- apk add git
- npm install
- mkdir build
- npx esbuild stear/main.js --jsx-factory=s --loader:.js=jsx --loader:.html=text --bundle --minify --outfile="build/stear.min.js"
- npx esbuild stear/main.js --jsx-factory=s --loader:.js=jsx --loader:.html=text --bundle --outfile="build/staer.js"
- 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 ]