コミット
878339e50a
|
@ -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
|
||||
|
|
読み込み中…
新しいイシューから参照