-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update readme with usage instructions
Signed-off-by: Harkishen-Singh <harkishensingh@hotmail.com>
- Loading branch information
1 parent
f80d134
commit e55403a
Showing
2 changed files
with
49 additions
and
373 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
on: | ||
push: | ||
branches: '*' | ||
|
||
permissions: | ||
id-token: write | ||
contents: write | ||
pull-requests: write | ||
|
||
name: assets | ||
|
||
jobs: | ||
upload-script: | ||
runs-on: ubuntu-latest | ||
env: | ||
EVAL_FILE_NAME: evaluate.py | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup git PAT override | ||
run: | | ||
git config --global --add url."https://${{ secrets.ORG_AUTOMATION_TOKEN }}:@github".insteadOf ssh://git@github | ||
- name: Configure aws credentials | ||
uses: aws-actions/configure-aws-credentials@v4 | ||
with: | ||
role-to-assume: arn:aws:iam::818196790983:role/upload-releases-to-assets.timescale.com | ||
aws-region: us-east-1 | ||
|
||
- name: Upload the binary to assets.timescale.com | ||
run: | | ||
aws s3api put-object \ | ||
--acl public-read \ | ||
--bucket assets.timescale.com \ | ||
--key releases/migration/${EVAL_FILE_NAME} \ | ||
--body ${EVAL_FILE_NAME} |
Oops, something went wrong.