Merge pull request #97 from iwilltry42/fix/quickstart #6
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 |