diff --git a/.github/workflows/update-mirror.yml b/.github/workflows/update-mirror.yml index 9734eca..b7b7591 100644 --- a/.github/workflows/update-mirror.yml +++ b/.github/workflows/update-mirror.yml @@ -97,7 +97,7 @@ jobs: run: | ./uploader-cache/detect-upload-files.sh [ "$(ls -A "package-sources"/* | wc -l)" -gt "0" ] || exit 0 - [ -f "uploader-keys/$UPLOADER_TYPE.json" ] && cp -f "uploader-keys/$UPLOADER_TYPE.json" "$UPLOADER_CONF" || ./onedrive-uploader/gen-onedriveconf.sh + ./onedrive-uploader/gen-onedriveconf.sh ./onedrive-uploader/OneDriveUploader -f -c "$UPLOADER_CONF" -s "package-sources" -r "/" -skip ./uploader-cache/gen-downloaded-hash.sh [ -d "uploader-keys" ] || mkdir -p "uploader-keys"