Skip to content

Commit

Permalink
Merge branch 'main' into feat/update-translation
Browse files Browse the repository at this point in the history
  • Loading branch information
Wangtaofeng committed Jan 3, 2024
2 parents c852293 + 6e8d68d commit cf47df1
Show file tree
Hide file tree
Showing 44 changed files with 41 additions and 9,320 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,42 @@ on:
permissions:
contents: write

env:
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_BOT_TOKEN }}

jobs:
deploy:
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: actions/setup-node@v3
with:
node-version: 18

- name: Install Crowdin CLI
run: npm i -g @crowdin/cli

- name: Check Crowdin
run: crowdin -V

- uses: pnpm/action-setup@v2
with:
version: 8.7.0

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Write translations
run: pnpm run write-translations

- name: Upload translations
run: crowdin upload

- name: Download translations
run: crowdin download

- name: Build website
run: pnpm build

Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*

/i18n
2 changes: 1 addition & 1 deletion blog/build-dashboard/build-dashboard.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
slug: shadcn-ui-2024
slug: build-dashboard
title: Quickly create a personalized data dashboard for your boss
description: Every company has its own exclusive online business, and as the business continues to update and iterate, the complexity of the business will continuously increase over time.After the business complexity reaches a high level, internal teams need to view various data to make decisions for future strategies. Therefore, we need a flexible tool to create personalized data dashboards to meet the diverse customization needs of internal team members, especially the boss, and help the team iterate quickly.Using efficient tools to leave work early every day.
authors: [ owen ]
Expand Down
Loading

0 comments on commit cf47df1

Please sign in to comment.