committed by
GitHub
3 changed files with 37 additions and 1 deletions
@ -0,0 +1,30 @@ |
|||
name: Deploy to GitHub Pages |
|||
|
|||
on: |
|||
push: |
|||
branches: |
|||
- all-blocks |
|||
|
|||
jobs: |
|||
build-and-deploy: |
|||
runs-on: ubuntu-latest |
|||
|
|||
steps: |
|||
- name: Checkout code |
|||
uses: actions/checkout@v4 |
|||
|
|||
- name: Install Bun |
|||
uses: oven-sh/setup-bun@v2 |
|||
|
|||
- name: Install dependencies with Bun |
|||
run: bun install |
|||
|
|||
- name: Build project |
|||
run: bun run build |
|||
|
|||
- name: Deploy to GitHub Pages |
|||
uses: peaceiris/actions-gh-pages@v4 |
|||
with: |
|||
github_token: ${{ secrets.GITHUB_TOKEN }} |
|||
publish_dir: ./dist |
|||
cname: preview.pro.ant.design |
|||
@ -0,0 +1,5 @@ |
|||
import { Skeleton } from 'antd'; |
|||
|
|||
const Loading: React.FC = () => <Skeleton style={{ margin: '24px 40px' }} active />; |
|||
|
|||
export default Loading; |
|||
Loading…
Reference in new issue