Skip to content

Commit

Permalink
✨ feat: add ProChat (#1)
Browse files Browse the repository at this point in the history
feat: 第一版 ProChat
  • Loading branch information
arvinxx authored Nov 24, 2023
2 parents 0560c6b + 26917d5 commit d63f00a
Show file tree
Hide file tree
Showing 166 changed files with 10,267 additions and 36 deletions.
6 changes: 6 additions & 0 deletions .dumirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ export default defineConfig({
themeConfig: {
name: '@ant-design/pro-chat',
github: homepage,
siteToken: {
demoInheritSiteTheme: true,
},
},
mfsu: false,
outputPath: 'docs-dist',
html2sketch: {},
extraBabelPlugins: ['antd-style'],
});
30 changes: 30 additions & 0 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Surge PR Preview

on:
pull_request:

workflow_dispatch:

jobs:
preview:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8

- uses: afc163/surge-preview@v1
id: preview_step
with:
surge_token: ${{ secrets.SURGE_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
build: |
pnpm i
pnpm run docs:build
dist: docs-dist

- name: Get the preview_url
run: echo "url => ${{ steps.preview_step.outputs.preview_url }}"
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

# dependencies
**/node_modules
# roadhog-api-doc ignore
/src/utils/request-temp.js
_roadhog-api-doc

# production
**/dist
Expand Down Expand Up @@ -40,3 +37,5 @@ screenshot
example/.temp/*
.eslintcache
techUI*
.vercel
bun.lockb
Loading

0 comments on commit d63f00a

Please sign in to comment.