automatically push minor versions
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/manual/woodpecker Pipeline was successful

This commit is contained in:
Aaron Riedel 2024-09-28 19:37:23 +02:00
parent 8c5e50a095
commit 8bb1880a5b
Signed by: aaron
GPG key ID: 643004654D40D577

View file

@ -5,7 +5,9 @@ steps:
- "wget https://git.ar21.de/aaron/nextcloud-docker/raw/branch/master/versions.json" - "wget https://git.ar21.de/aaron/nextcloud-docker/raw/branch/master/versions.json"
- "cat versions.json | jq -r '.[].branch' > versions.txt" - "cat versions.json | jq -r '.[].branch' > versions.txt"
- "cat versions.txt" - "cat versions.txt"
- "cat versions.json | jq -r '.[].version' > full.txt"
- "git clone https://git.ar21.de/aaron/nextcloud-fpm.git" - "git clone https://git.ar21.de/aaron/nextcloud-fpm.git"
- "cp full.txt nextcloud-fpm/versions.txt"
- "./patch.sh" - "./patch.sh"
- name: git push changes - name: git push changes
image: appleboy/drone-git-push image: appleboy/drone-git-push
@ -15,6 +17,6 @@ steps:
path: nextcloud-fpm path: nextcloud-fpm
force: false force: false
commit: true commit: true
commit_message: "Update Nextcloud Major versions" commit_message: "Automatically update Nextcloud versions"
ssh_key: ssh_key:
from_secret: FORGEJO_SSH_KEY from_secret: FORGEJO_SSH_KEY