Skip to content

chore(main): release 5.12.0 (#928) #693

chore(main): release 5.12.0 (#928)

chore(main): release 5.12.0 (#928) #693

Workflow file for this run

name: Main Preview
on:
push:
branches: [main]
env:
PREVIEW_DEST_PATH: /page-constructor
jobs:
main:
name: Build and Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: 18
- name: Install Packages
run: npm ci
shell: bash
- name: Build Storybook
run: npx sb build
shell: bash
- name: Upload to S3
uses: gravity-ui/preview-upload-to-s3-action@v1
with:
src-path: storybook-static
dest-path: /page-constructor/main/
s3-key-id: ${{ secrets.STORYBOOK_S3_KEY_ID }}
s3-secret-key: ${{ secrets.STORYBOOK_S3_SECRET_KEY }}