Merge pull request 'Fixed instances CI' (#60) from Hygna/gothub:dev into dev

Reviewed-on: https://codeberg.org/gothub/gothub/pulls/60
このコミットが含まれているのは:
Odyssium 2023-02-11 09:19:56 +00:00
コミット 77c0cc31f1
1個のファイルの変更5行の追加5行の削除

ファイルの表示

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