Switch to Forgejo CI
Some checks failed
/ build (push) Failing after 8s

This commit is contained in:
MassiveBox 2024-03-29 14:02:10 +01:00
parent 58a106df9e
commit ca4a6728bf
Signed by: massivebox
GPG key ID: 9B74D3A59181947D
2 changed files with 16 additions and 20 deletions

View file

@ -0,0 +1,16 @@
on: [push]
jobs:
build:
runs-on: docker
steps:
- uses: actions/checkout@v4
- run: cd ..
ls
apt-get update
apt-get install -y chromium
echo ${{ secrets.CERT }} > cf-detect-chrome.pem
chromium --no-sandbox --pack-extension=./cf-detect-chrome --pack-extension-key=./cf-detect-chrome.pem
- uses: actions/upload-artifact@v4
with:
path: ./cf-detect-chrome.crx
overwrite: true

View file

@ -1,20 +0,0 @@
steps:
pack:
image: alpine:3.19
commands:
- apk upgrade --no-cache --available && apk add --no-cache chromium
- cd ..
- echo $CERT > cf-detect-chrome.pem
- chromium --no-sandbox --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