diff options
author | Edward <101938856+EdwardLangdon@users.noreply.github.com> | 2022-10-09 18:40:39 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-09 18:40:39 +0530 |
commit | 488c8c7c8b6b3431aed56c7eb1bc394fc8b6a321 (patch) | |
tree | 5e7d60bb0f818f0c37ab26babe127b26dd6baad7 /.woodpecker | |
parent | Update LibreDirect messages pt_BR 07-29-2022 (diff) | |
parent | Updated instances (diff) | |
download | libredirect-488c8c7c8b6b3431aed56c7eb1bc394fc8b6a321.zip |
Merge branch 'master' into patch-1
Diffstat (limited to '.woodpecker')
-rw-r--r-- | .woodpecker/instances.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.woodpecker/instances.yml b/.woodpecker/instances.yml new file mode 100644 index 00000000..43df0cd9 --- /dev/null +++ b/.woodpecker/instances.yml @@ -0,0 +1,21 @@ +pipeline: + instancefetch: + image: python:3.8 + secrets: [token, mail] + when: + event: cron + commands: + - python -m pip install --upgrade pip + - pip install requests colorama + - python src/instances/get_instances.py + # SSH configuration + - mkdir ~/.ssh + - ssh-keyscan -t ed25519 codeberg.org >> ~/.ssh/known_hosts + - eval `ssh-agent` + - echo "$TOKEN" | tr -d '\r' | ssh-add - + # Git configuration + - git config --global user.email $MAIL + - git config --global user.name "Woodpecker CI" + - git commit -am "updated instances" + - git remote set-url origin git@codeberg.org:libredirect/libredirect.git + - git push --set-upstream origin master |