From 99bf11aa13f0d225fc09cc7c5d1f77a989f9f733 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igor=20Pe=C4=8Dovnik?= Date: Thu, 25 Aug 2022 11:03:28 +0200 Subject: [PATCH] Update main-latest.yml --- .github/workflows/main-latest.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/main-latest.yml b/.github/workflows/main-latest.yml index 7bc19fe..bfc8ed3 100644 --- a/.github/workflows/main-latest.yml +++ b/.github/workflows/main-latest.yml @@ -66,3 +66,20 @@ jobs: ls -l /tmp/workdir/kernel/output/ sudo apt-get -y -qq install lftp lftp -u upload, -e "set net:timeout 4;set net:max-retries 6;mirror --Remove-source-files -R --no-empty-dirs --parallel=8 --no-perms /tmp/workdir/kernel/output/ gitbundles/ ;bye" sftp://users.armbian.com + + sync-servers: + permissions: + contents: none + name: "Sync servers" + needs: [git-trees] + if: ${{ success() && github.repository_owner == 'Armbian' }} + uses: armbian/scripts/.github/workflows/sync-servers.yml@master + + with: + KEY_ID: 'upload' + + secrets: + KEY_UPLOAD: ${{ secrets.KEY_UPLOAD }} + USER_REPOSITORY: ${{ secrets.USER_REPOSITORY }} + HOST_REPOSITORY: ${{ secrets.HOST_REPOSITORY }} + KNOWN_HOSTS_REPOSITORY: ${{ secrets.KNOWN_HOSTS_REPOSITORY }}