diff --git a/.woodpecker/instancejson.yml b/.woodpecker/instancejson.yml index 1e1dc4e..5a852b3 100644 --- a/.woodpecker/instancejson.yml +++ b/.woodpecker/instancejson.yml @@ -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