Updating maintainers: switch to new location of JSON file

This commit is contained in:
Igor Pecovnik
2025-05-11 19:34:04 +02:00
committed by Igor
parent e8894a787d
commit 6e3ad9bca3

View File

@@ -6,8 +6,6 @@ name: "Sync maintainers status"
# spdx-id: GPL-2.0-or-later
# copyright-owner: @igorpecovnik
# Dependencies: lftp, jq
on:
schedule:
- cron: "0 * * * *"
@@ -36,16 +34,11 @@ jobs:
known_hosts: ${{ secrets.KNOWN_HOSTS_ARMBIAN_UPLOAD }}
if_key_exists: replace
- name: "Install dependencies"
run: |
sudo apt-get -y -qq install jq
- name: "Download JSON file"
run: |
# download json that is prepared for this action in another cron job
rsync -e "ssh -p ${{ secrets.HOST_UPLOAD_PORT }}" -arvc ${{ secrets.HOST_UPLOAD_USER }}@${{ secrets.HOST_UPLOAD }}:/incoming/json/armbian_maintainers.json /tmp/
# download json that is prepared in https://github.com/armbian/armbian.github.io
curl -o /tmp/armbian_maintainers.json https://github.armbian.com/maintainers.json
- name: "Update maintainers"
run: |