Try something with CI

Signed-off-by: Odyssey <hi@odyssey346.dev>
このコミットが含まれているのは:
Odyssey 2023-02-10 21:18:16 +01:00
コミット 878339e50a
1個のファイルの変更7行の追加3行の削除

ファイルの表示

@ -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