Skip to content

Commit 43fbffc

Browse files
authored
chore: test action
1 parent 2e96009 commit 43fbffc

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/pr-preview-deploy2.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,11 @@ jobs:
2323
id: pr
2424
run: echo "::set-output name=id::$(<pr/pr-id.txt)"
2525
shell: bash
26-
- name: Configure AWS Credentials
27-
uses: aws-actions/configure-aws-credentials@v4
28-
with:
29-
aws-access-key-id: ${{ secrets.STORYBOOK_S3_KEY_ID }}
30-
aws-secret-access-key: ${{ secrets.STORYBOOK_S3_SECRET_KEY }}
31-
aws-region: ru-central1
3226
- name: Upload to S3
3327
env:
28+
AWS_ACCESS_KEY_ID: ${{ secrets.STORYBOOK_S3_KEY_ID }}
29+
AWS_SECRET_ACCESS_KEY: ${{ secrets.STORYBOOK_S3_SECRET_KEY }}
30+
AWS_DEFAULT_REGION: ru-central1
3431
AWS_EC2_METADATA_DISABLED: true
3532
run: aws s3 cp static s3://storybook-static/date-components/pulls/${{ steps.pr.outputs.id }}/ --endpoint-url=https://storage.yandexcloud.net --recursive
3633
shell: bash

0 commit comments

Comments
 (0)