Fix MinIO client alias configuration command syntax
Some checks failed
Build Windows Package / fetch (push) Failing after 7m47s
Build Windows Package / fetch (pull_request) Failing after 7m22s
Pull Request / action (pull_request_target) Failing after 0s
Build Windows Package / setup (push) Has been cancelled
Build Windows Package / setup (pull_request) Has been cancelled
Build Windows Package / Windows Build (push) Has been cancelled
Build Windows Package / Windows Build (pull_request) Has been cancelled

This commit is contained in:
2025-04-24 19:20:35 +02:00
parent b1136c75df
commit cfc4a1f4f2

View File

@@ -71,8 +71,8 @@ jobs:
- name: Configure MinIO client
run: |
mc alias set s3piskot https://s3.piskot.si ${{ secrets.S3_AK }} ${{ secrets.S3_SK }}
if ! ./mc alias list | grep -q "s3piskot"; then
mc alias set s3piskot https://s3.piskot.si "${{ secrets.S3_AK }}" "${{ secrets.S3_SK }}"
if ! mc alias list | grep -q "s3piskot"; then
echo "Error: Failed to set S3 alias"
exit 1
fi