From 603f7f861ebb33966899971dc390e87f3239eb23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Norman=20K=C3=B6hring?= Date: Wed, 6 Dec 2023 23:40:10 +0100 Subject: [PATCH] add ci config --- .woodpecker.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .woodpecker.yml diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..149775e --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,25 @@ +pipeline: + ntfy: + image: codeberg.org/l-x/woodpecker-ntfy + settings: + url: https://ntfy.sh/k0r + title: build finished + click: https://ci.k0r.in + icon: https://woodpecker-ci.org/img/logo.svg + tags: robot,${CI_BUILD_EVENT},${CI_REPO_NAME} + message: > + 📝 Commit by ${CI_COMMIT_AUTHOR} on ${CI_COMMIT_BRANCH}: + + ${CI_COMMIT_MESSAGE} + + build: + image: node:20-alpine + commands: + - npm install + - npm run docs:build + - chmod -R a+rw /mnt + - rm -fr /mnt/dist + - cp -R .vitepress/dist /mnt/dist + + volumes: + - /home/n/CI/koehr_ing:/mnt/