automatically push minor versions
This commit is contained in:
parent
8c5e50a095
commit
8bb1880a5b
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue