Skip to content

Commit

Permalink
Update build-storybook.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
verdel authored Feb 1, 2024
1 parent 440929a commit bea32bc
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/build-storybook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,25 +16,17 @@ jobs:
- uses: docker://quay.csssr.cloud/csssr/kuberta-init-workflow:v1

- name: Download CSSSR actions
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: CSSSR/actions
ssh-key: ${{ secrets.DOWNLOAD_ACTIONS_SSH_KEY }}
path: actions

- name: Import secrets
id: secrets
uses: hashicorp/vault-action@v2.4.0
uses: ./actions/get-aws-s3-upload-creds/v1beta1
with:
url: https://vault.csssr.com:8200
jwtGithubAudience: ${{secrets.VAULT_JWT_KEY}}
role: s3-cdn-upload
method: jwt
exportEnv: false
secrets: |
aws/sts/s3-cdn-upload access_key | AWS_ACCESS_KEY_ID ;
aws/sts/s3-cdn-upload secret_key | AWS_SECRET_ACCESS_KEY ;
aws/sts/s3-cdn-upload security_token | AWS_SESSION_TOKEN
VAULT_JWT_KEY: ${{secrets.VAULT_JWT_KEY}}

- name: Build and push storybook
uses: ./actions/build-and-deploy-static-site/v1beta1
Expand Down

0 comments on commit bea32bc

Please sign in to comment.