Skip to content

Commit 8b50ac7

Browse files
committed
Revert "Adjust CDN sync to use their new object store"
This reverts commit 7dc7a9f.
1 parent 10b6565 commit 8b50ac7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

website/daily-snapshots

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ rm -f /mnt/storage/files/snapshots/*
4242
# Move new files
4343
mv release/*.* /mnt/storage/files/snapshots/
4444

45-
# sync to CDN
46-
rclone sync -q /mnt/storage/files/ cdn77:/download-object/
45+
# Rsync to CDN
46+
rsync -va /mnt/storage/files/ cdn:/www/
4747

4848
# trigger website scan
4949
sudo -u builder /home/builder/website/manage.py import_files

website/sync-files-cdn

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
# HostName example.cdn77.com
1313
#
1414

15-
# sync to CDN
16-
rclone sync -q /mnt/storage/files/ cdn77:/download-object/
15+
# rsync to CDN
16+
rsync -va /mnt/storage/files/ cdn:/www/
1717

1818
# trigger website scan
1919
cd /home/builder/website/

0 commit comments

Comments
 (0)