Skip to content

Commit 3e80f14

Browse files
authored
Merge branch 'opentiny:develop' into develop
2 parents d222cca + c27e843 commit 3e80f14

188 files changed

Lines changed: 15244 additions & 1487 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [develop]
6+
7+
jobs:
8+
deploy-gh-pages:
9+
runs-on: ubuntu-latest
10+
concurrency:
11+
group: deploy-gh-pages
12+
cancel-in-progress: true
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
17+
- name: Install pnpm
18+
uses: pnpm/action-setup@v4
19+
with:
20+
version: 10
21+
run_install: false
22+
23+
- name: Setup Node.js
24+
uses: actions/setup-node@v4
25+
with:
26+
node-version: '20'
27+
registry-url: 'https://registry.npmjs.org'
28+
29+
- name: Install dependencies
30+
run: pnpm install
31+
32+
- name: add environment variable
33+
run: |
34+
cat <<'EOF' >> designer-demo/env/.env.alpha
35+
// ---- appended by CI (gh-pages) ----
36+
VITE_ORIGIN=https://agent.opentiny.design/
37+
EOF
38+
- name: change material url
39+
run: |
40+
sed -i "s#material: \['/mock/bundle.json'\]#material: \['https://opentiny.github.io/tiny-engine/mock/bundle.json'\]#g" designer-demo/engine.config.js
41+
echo "Updated material url in designer-demo/engine.config.js"
42+
- name: Run Build
43+
run: |
44+
set -eo pipefail
45+
pnpm run build:plugin 2>&1 | tee /tmp/build-plugin.log
46+
pnpm run build:alpha 2>&1 | tee /tmp/build-alpha.log
47+
48+
- name: Deploy
49+
uses: peaceiris/actions-gh-pages@v4
50+
with:
51+
github_token: ${{ secrets.GITHUB_TOKEN }}
52+
publish_dir: ./designer-demo/dist/
53+
keep_files: true
54+
force_orphan: false
55+
user_name: 'github-actions[bot]'
56+
user_email: 'github-actions[bot]@users.noreply.github.com'

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
<p align="center">TinyEngine enables developers to customize low-code platforms, build low-code platforms online in real time, and support secondary development or integration of low-code platform capabilities.</p>
88

9+
[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/opentiny/tiny-engine)
10+
911
English | [简体中文](README.zh-CN.md)
1012

1113
🌈 Features:

designer-demo/engine.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,7 @@ export default {
33
theme: 'light',
44
material: ['/mock/bundle.json'],
55
scripts: [],
6-
styles: []
6+
styles: [],
7+
// 是否开启 TailWindCSS 特性
8+
enableTailwindCSS: true
79
}

0 commit comments

Comments
 (0)