# .woodpecker.yml platform: linux/arm64 pipeline: build: image: node:18-alpine commands: - apk add git zip tar - npm install - npm install git+https://jusax.de/git/jusax23/gitea-release.git - mkdir build - mkdir juml - mkdir juml/dist - mkdir upload - npm run prepublish - cp dist/* juml/dist - cp package.json juml - cp package-lock.json juml - cp readme.md juml - zip -r upload/juml.zip juml/* - tar -czvf upload/juml.tar.gz juml/* - npx gitea-release "https://jusax.de/git/api/v1/" "$${GITEA_TOKEN}" "$${CI_REPO}" "$${CI_COMMIT_BRANCH}" "$${CI_COMMIT_TAG}" "upload" "$${CI_COMMIT_MESSAGE}" secrets: [ gitea_token ]