Skip to content

Commit bc11152

Browse files
committed
try accessing secrets
1 parent 3b21c62 commit bc11152

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/build.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,13 @@ jobs:
2929
uses: actions/setup-node@v4
3030

3131
- name: Upload to S3
32+
env:
33+
S3_BUCKET: ${{ secrets.S3_BUCKET }}
34+
S3_PATH: ${{ secrets.S3_PATH }}
35+
S3_ENDPOINT: ${{ secrets.S3_ENDPOINT }}
36+
S3_ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }}
37+
S3_SECRET_KEY: ${{ secrets.S3_SECRET_KEY }}
3238
run: |
33-
export $(grep -v '^#' $GITHUB_ENV | xargs) \
3439
echo "Uploading to S3 bucket: $S3_BUCKET" \
3540
rclone sync ./storybook-static \
3641
:s3:"$S3_BUCKET/$S3_PATH" \

0 commit comments

Comments
 (0)