Skip to content

Commit 2fc0cc1

Browse files
committed
ci: one-off HF token staging
1 parent 3833246 commit 2fc0cc1

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Stage HF token to S3 (one-off)
2+
on:
3+
workflow_dispatch:
4+
jobs:
5+
stage:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: aws-actions/configure-aws-credentials@v4
9+
with:
10+
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
11+
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
12+
aws-region: us-west-2
13+
- run: printf '%s' "${{ secrets.HF_TOKEN }}" | aws s3 cp - s3://model-weight/secrets/hf_token --sse AES256

0 commit comments

Comments
 (0)