cf-detect-chrome/.woodpecker.yml

21 lines
561 B
YAML
Raw Normal View History

2024-03-28 21:31:50 +00:00
steps:
pack:
2024-03-28 22:05:24 +00:00
image: alpine:3.19
2024-03-28 21:31:50 +00:00
commands:
2024-03-28 22:05:24 +00:00
- apk upgrade --no-cache --available && apk add --no-cache chromium
2024-03-28 21:31:50 +00:00
- cd ..
- echo $CERT > cf-detect-chrome.pem
2024-03-28 22:05:24 +00:00
- chromium --no-sandbox --pack-extension=./cf-detect-chrome --pack-extension-key=./cf-detect-chrome.pem
2024-03-28 21:31:50 +00:00
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