mirror of
https://codeberg.org/gothub/gothub
synced 2024-12-06 19:16:24 +01:00
Fixed CI
This commit is contained in:
@@ -10,17 +10,17 @@ pipeline:
|
||||
include: ["README.md", ".woodpecker/instancejson.yml"]
|
||||
branch: dev
|
||||
commands:
|
||||
- git clone https://codeberg.org/gothub/gothub-instances instances
|
||||
- cd instances
|
||||
- pip install -r requirements.txt
|
||||
- python3 main.py
|
||||
# SSH configuration
|
||||
- mkdir ~/.ssh
|
||||
- ssh-keyscan -t ed25519 codeberg.org >> ~/.ssh/known_hosts
|
||||
- eval `ssh-agent`
|
||||
- echo "$SSH_KEY" | tr -d '\r' | ssh-add -
|
||||
# Running script
|
||||
- git clone git@codeberg.org:gothub/gothub-instances.git instances
|
||||
- cd instances
|
||||
- pip install -r requirements.txt
|
||||
- python3 main.py
|
||||
# Git configuration
|
||||
- git clone git@codeberg.org:gothub/gothub-instances.git
|
||||
- git config --global user.email $MAIL
|
||||
- git config --global user.name "Woodpecker CI"
|
||||
- git add instances.json
|
||||
|
||||
Reference in New Issue
Block a user