diff --git a/.github/workflows/build_prepare.yaml b/.github/workflows/build_prepare.yaml index 2c4bd96..ac76f82 100644 --- a/.github/workflows/build_prepare.yaml +++ b/.github/workflows/build_prepare.yaml @@ -69,9 +69,20 @@ jobs: - name: Setup MinIO client uses: yakubique/setup-minio-cli@v1 - - name: Configure MinIO client + - name: Debug Secrets Presence run: | - mc alias set s3piskot https://s3.piskot.si "${{ secrets.S3_AK }}" "${{ secrets.S3_SK }}" + echo "S3_AK: ${S3_AK:0:4}****" + echo "S3_SK: ${S3_SK:0:4}****" + env: + S3_AK: ${{ secrets.S3_AK }} + S3_SK: ${{ secrets.S3_SK }} + + - name: Configure MinIO client + env: + S3_AK: ${{ secrets.S3_AK }} + S3_SK: ${{ secrets.S3_SK }} + run: | + mc alias set s3piskot https://s3.piskot.si "$S3_AK" "$S3_SK" if ! mc alias list | grep -q "s3piskot"; then echo "Error: Failed to set S3 alias" exit 1