diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000000..046570a92d --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,30 @@ +clone: + git: + image: woodpeckerci/plugin-git + settings: + depth: 1 + +steps: + build: + image: node:current-bookworm-slim + commands: + - apt update + - apt install php php-symfony bash -y + - npm install pnpm + - cd mailpoet + - bash build.sh + - mkdir ../output + - mv mailpoet.zip ../output + - cd .. + + release: + image: woodpeckerci/plugin-gitea-release:latest + settings: + base_url: https://git.cavemanon.xyz + api_key: + from_secret: releasesmithapikey + files: "output/" + prerelease: false + title: "${CI_COMMIT_TAG}" + when: + - event: tag