From 0fb796d1fab116de48f864212f8f6edf6aa5b21b Mon Sep 17 00:00:00 2001 From: MassiveBox Date: Thu, 28 Mar 2024 22:31:50 +0100 Subject: [PATCH] Add Woodpecker --- .woodpecker.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .woodpecker.yml diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..56ba334 --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,19 @@ +steps: + + pack: + image: eu.gcr.io/zenika-hub/alpine-chrome + commands: + - cd .. + - echo $CERT > cf-detect-chrome.pem + - chromium --pack-extension=./cf-detect-chrome --pack-extension-key=./cf-detect-chrome.pem + secrets: [ CERT ] + + publish: + image: woodpeckerci/plugin-gitea-release + settings: + base_url: https://git.massivebox.net + files: + - "cf-detect-chrome.crx" + api_key: + from_secret: GITEA_ACCESS_TOKEN + target: main