nextcloud-versions-parser/.woodpecker.yml
Aaron Riedel 8c5e50a095
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/manual/woodpecker Pipeline was successful
finalize the version parser and updater
2024-09-24 22:45:52 +02:00

20 lines
688 B
YAML

steps:
- name: get versions
image: git.ar21.de/aaron/debian-ci:latest
commands:
- "wget https://git.ar21.de/aaron/nextcloud-docker/raw/branch/master/versions.json"
- "cat versions.json | jq -r '.[].branch' > versions.txt"
- "cat versions.txt"
- "git clone https://git.ar21.de/aaron/nextcloud-fpm.git"
- "./patch.sh"
- name: git push changes
image: appleboy/drone-git-push
settings:
branch: main
remote: ssh://git@git.ar21.de:2222/aaron/nextcloud-fpm.git
path: nextcloud-fpm
force: false
commit: true
commit_message: "Update Nextcloud Major versions"
ssh_key:
from_secret: FORGEJO_SSH_KEY