This commit is contained in:
Hygna
2023-02-11 09:17:42 +00:00
parent bf2970a4ea
commit af6b5a76be
+5 -5
View File
@@ -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