Skip to content

build(deps): bump clsx from 1.2.1 to 2.1.0 in /website (#323) #32

build(deps): bump clsx from 1.2.1 to 2.1.0 in /website (#323)

build(deps): bump clsx from 1.2.1 to 2.1.0 in /website (#323) #32

Workflow file for this run

name: generate_website
on:
workflow_dispatch:
push:
branches:
- main
paths:
- ".github/workflows/website.yaml"
- "website/**"
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-22.04
defaults:
run:
working-directory: website
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Get yarn cache
id: yarn-cache
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- name: Cache dependencies
uses: actions/cache@v4
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-website-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-website-
- run: yarn install --frozen-lockfile
- run: yarn build
- name: Deploy
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./website/build
destination_dir: ./