diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ca55f4a --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +node_modules/ +result +dist/ diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..b896ca7 --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,20 @@ +pipeline: + build: + image: node:18 + commands: + - npm ci + - npm run build + release: + image: woodpeckerci/plugin-gitea-release + settings: + base_url: https://git.jojodev.com + files: + - "dist/*" + api_key: + from_secret: gitea_token + prune: + image: jolheiser/drone-gitea-prune + settings: + base: https://git.jojodev.com + token: + from_secret: gitea_token