added step to install minio client #6

Merged
brian merged 1 commits from fix-sync-label-studio-output-pipeline into main 2025-09-18 21:40:36 +02:00
Showing only changes of commit 5a04db5c11 - Show all commits
+7 -1
View File
@@ -3,7 +3,7 @@ name: Sync Label Studio
on: on:
schedule: schedule:
# This job will run every day at 03:00 AM # This job will run every day at 03:00 AM
- cron: "0/10 * * * *" - cron: "0/5 * * * *"
jobs: jobs:
sync_storage: sync_storage:
@@ -17,6 +17,12 @@ jobs:
-H "Authorization: Token $LABEL_STUDIO_API_TOKEN" \ -H "Authorization: Token $LABEL_STUDIO_API_TOKEN" \
"https://label-studio.gt-proj.com/api/storages/export/s3/1/sync" "https://label-studio.gt-proj.com/api/storages/export/s3/1/sync"
- name: Install MinIO Client
run: |
wget https://dl.min.io/client/mc/release/linux-amd64/mc
chmod +x mc
sudo mv mc /usr/local/bin/
- name: Fix Label Studio output content type in MinIO - name: Fix Label Studio output content type in MinIO
env: env:
MINIO_ACCESS_KEY: ${{ secrets.MINIO_ACCESS_KEY }} MINIO_ACCESS_KEY: ${{ secrets.MINIO_ACCESS_KEY }}