From 878339e50a533736f2e377ea0b537f4e37983001 Mon Sep 17 00:00:00 2001 From: Odyssey Date: Fri, 10 Feb 2023 21:18:16 +0100 Subject: [PATCH] Try something with CI Signed-off-by: Odyssey --- .woodpecker/.instancejson.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.woodpecker/.instancejson.yml b/.woodpecker/.instancejson.yml index ada60d7..dc92451 100644 --- a/.woodpecker/.instancejson.yml +++ b/.woodpecker/.instancejson.yml @@ -4,13 +4,17 @@ pipeline: image: python:3-bullseye secrets: [ssh_key, mail] when: - path: "README.md" - branch: dev + - event: [cron, push] + cron: instancejson + path: "README.md" + branch: dev commands: - git clone https://codeberg.org/gothub/gothub-instances instances - cd instances + - python3 -m venv venv/ + - source venv/bin/activate - pip install -r requirements.txt - - ./main.py + - python3 main.py # SSH configuration - mkdir ~/.ssh - ssh-keyscan -t ed25519 codeberg.org >> ~/.ssh/known_hosts