Skip to content

Commit

Permalink
chore: update readme with usage instructions
Browse files Browse the repository at this point in the history
Signed-off-by: Harkishen-Singh <harkishensingh@hotmail.com>
  • Loading branch information
Harkishen-Singh committed Mar 27, 2024
1 parent f80d134 commit b013d55
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 373 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
on:
push:
branches:
- main

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:
- 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}

0 comments on commit b013d55

Please sign in to comment.