Skip to content

Commit

Permalink
chore: workflow to publish quickstart script
Browse files Browse the repository at this point in the history
Signed-off-by: Taylor Price <[email protected]>
  • Loading branch information
drpebcak committed Jan 19, 2024
1 parent fa994b2 commit 2e32f0b
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/push_quickstart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
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

0 comments on commit 2e32f0b

Please sign in to comment.