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