Skip to content

Commit

Permalink
test
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 950f480 commit f90d001
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/release.yaml
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}

0 comments on commit f90d001

Please sign in to comment.