Fix recursive bug
This commit is contained in:
parent
074a496f4e
commit
44bb614a8b
|
@ -7,7 +7,7 @@ Runs [minio client](https://min.io/docs/minio/linux/reference/minio-mc.html) to
|
||||||
1. Upload a file
|
1. Upload a file
|
||||||
```yaml
|
```yaml
|
||||||
- name: Upload to MinIO
|
- name: Upload to MinIO
|
||||||
uses: yakubique/minio-upload@v1
|
uses: yakubique/minio-upload@v1.1.0
|
||||||
with:
|
with:
|
||||||
endpoint: ${{ secrets.MINIO_ENDPOINT }}
|
endpoint: ${{ secrets.MINIO_ENDPOINT }}
|
||||||
access_key: ${{ secrets.MINIO_ACCESS_KEY }}
|
access_key: ${{ secrets.MINIO_ACCESS_KEY }}
|
||||||
|
@ -20,8 +20,8 @@ Runs [minio client](https://min.io/docs/minio/linux/reference/minio-mc.html) to
|
||||||
|
|
||||||
2. Upload a directory
|
2. Upload a directory
|
||||||
```yaml
|
```yaml
|
||||||
- name: Upload to MinIO
|
- name: Upload a directory to MinIO
|
||||||
uses: yakubique/minio-upload@v1
|
uses: yakubique/minio-upload@vv1.1.0
|
||||||
with:
|
with:
|
||||||
endpoint: ${{ secrets.MINIO_ENDPOINT }}
|
endpoint: ${{ secrets.MINIO_ENDPOINT }}
|
||||||
access_key: ${{ secrets.MINIO_ACCESS_KEY }}
|
access_key: ${{ secrets.MINIO_ACCESS_KEY }}
|
||||||
|
@ -37,7 +37,7 @@ Runs [minio client](https://min.io/docs/minio/linux/reference/minio-mc.html) to
|
||||||
3. Upload to the insecure MinIO instance (_http-only_)
|
3. Upload to the insecure MinIO instance (_http-only_)
|
||||||
```yaml
|
```yaml
|
||||||
- name: Upload to MinIO
|
- name: Upload to MinIO
|
||||||
uses: yakubique/minio-upload@v1
|
uses: yakubique/minio-upload@v1.1.0
|
||||||
with:
|
with:
|
||||||
endpoint: ${{ secrets.MINIO_ENDPOINT }}
|
endpoint: ${{ secrets.MINIO_ENDPOINT }}
|
||||||
access_key: ${{ secrets.MINIO_ACCESS_KEY }}
|
access_key: ${{ secrets.MINIO_ACCESS_KEY }}
|
||||||
|
|
|
@ -8,7 +8,7 @@ if [[ "$YA_INSECURE" == "true" ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
recursive_option=""
|
recursive_option=""
|
||||||
if [[ "$YA_INSECURE" == "true" ]]; then
|
if [[ "YA_RECURSIVE" == "true" ]]; then
|
||||||
recursive_option="--recursive"
|
recursive_option="--recursive"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue