mirror of
https://github.com/sp-tarkov/build.git
synced 2025-02-13 01:50:46 -05:00
Adds debugging/dry-run to the R2 operations
This commit is contained in:
parent
8b3f5b3156
commit
413bdbfc93
@ -553,16 +553,20 @@ jobs:
|
|||||||
}]
|
}]
|
||||||
}" > /workspace/SPT-AKI/Build/release.json
|
}" > /workspace/SPT-AKI/Build/release.json
|
||||||
|
|
||||||
|
echo "Current Local Directory:"
|
||||||
ls -lah
|
ls -lah
|
||||||
|
|
||||||
|
echo "Current Remote Directory:"
|
||||||
|
rclone lsd r2:${{ secrets.R2_BUCKET_NAME }} --config /workspace/SPT-AKI/Build/rclone.conf
|
||||||
|
|
||||||
# Remove old 7z files from the bucket
|
# Remove old 7z files from the bucket
|
||||||
rclone -vv delete r2:/${{ secrets.R2_BUCKET_NAME }}/*.7z --config /workspace/SPT-AKI/Build/rclone.conf
|
rclone --dry-run -vv delete r2:${{ secrets.R2_BUCKET_NAME }}/*.7z --config /workspace/SPT-AKI/Build/rclone.conf
|
||||||
|
|
||||||
# Upload the file using rclone with the above config
|
# Upload the file using rclone with the above config
|
||||||
rclone -v copy "/workspace/SPT-AKI/Build/${{ steps.generate-filename.outputs.build_name }}" r2:/${{ secrets.R2_BUCKET_NAME }} --config /workspace/SPT-AKI/Build/rclone.conf
|
rclone --dry-run -vv copy "/workspace/SPT-AKI/Build/${{ steps.generate-filename.outputs.build_name }}" r2:${{ secrets.R2_BUCKET_NAME }} --config /workspace/SPT-AKI/Build/rclone.conf
|
||||||
|
|
||||||
# Upload the JSON file using rclone with the above config
|
# Upload the JSON file using rclone with the above config
|
||||||
rclone -v copy "/workspace/SPT-AKI/Build/release.json" r2:/${{ secrets.R2_BUCKET_NAME }} --config /workspace/SPT-AKI/Build/rclone.conf
|
rclone --dry-run -vv copy "/workspace/SPT-AKI/Build/release.json" r2:${{ secrets.R2_BUCKET_NAME }} --config /workspace/SPT-AKI/Build/rclone.conf
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Upload Release to HTTPS Source
|
- name: Upload Release to HTTPS Source
|
||||||
|
Loading…
x
Reference in New Issue
Block a user