Skip to content

Commit 96c1ff0

Browse files
authored
Source of truth - set to fixed address temporally
1 parent 631d6d4 commit 96c1ff0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/generate-redirector-config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ env:
1111
GEODB: "/scripts/redirect-config/GeoLite2-City.mmdb"
1212
ASNDB: "/scripts/redirect-config/GeoLite2-ASN.mmdb"
1313
DL_MAP: "/scripts/redirect-config/all-images.json"
14-
SOURCE_OF_TRUTH: "upload@k-space.ee.armbian.com:/storage/www/"
14+
SOURCE_OF_TRUTH: "https://k-space.ee.armbian.com"
1515

1616
concurrency:
1717
group: redirector
@@ -57,11 +57,11 @@ jobs:
5757
5858
mkdir -p source destination
5959
if [[ "${{ matrix.platform }}" =~ ^(dl|archive) ]]; then
60-
cd source ; lftp -e "mirror --include-glob=*/archive/*.torrent --parallel=64; exit" https://rsync.armbian.com/${{ matrix.platform }}
60+
cd source ; lftp -e "mirror --include-glob=*/archive/*.torrent --parallel=64; exit" ${{ env.SOURCE_OF_TRUTH }}${{ matrix.platform }}
6161
cd ..
6262
find source/*/archive/ -mindepth 1 -maxdepth 1 -exec mv -i -- {} destination/ \;
6363
else
64-
cd destination; lftp -e "mirror --parallel=64; exit" https://rsync.armbian.com/${{ matrix.platform }}/dists
64+
cd destination; lftp -e "mirror --parallel=64; exit" ${{ env.SOURCE_OF_TRUTH }}${{ matrix.platform }}/dists
6565
fi
6666
6767
- name: "Upload ${{ matrix.platform }} index"

0 commit comments

Comments
 (0)