fix quickstart script to download milvus config yaml file (#95) #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: push-quickstart | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "quickstart.sh" | |
jobs: | |
push_quickstart: | |
name: push-quickstart | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- name: Copy files to S3 | |
env: | |
AWS_ENDPOINT_URL: ${{ secrets.R2_ENDPOINT_URL }} | |
AWS_ACCESS_KEY_ID: ${{ secrets.R2_ACCESS_KEY }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.R2_SECRET_KEY }} | |
AWS_DEFAULT_REGION: auto | |
run: | | |
ls -la | |
aws s3 cp quickstart.sh s3://${{ secrets.R2_BUCKET_NAME }}/quickstart.sh |