2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 09:13:49 +08:00

feat: 前端翻译仅在编译时打包

This commit is contained in:
2025-04-15 18:06:56 +08:00
parent 073f42a3bc
commit 6c2a3a26ab
4 changed files with 3 additions and 4 deletions

View File

@@ -26,6 +26,7 @@ jobs:
run: |
cp .env.production .env
cp settings/proxy-config.example.ts settings/proxy-config.ts
pnpm run gettext:compile
pnpm build
- name: Upload frontend
uses: actions/upload-artifact@v4

View File

@@ -34,6 +34,7 @@ jobs:
run: |
cp .env.production .env
cp settings/proxy-config.example.ts settings/proxy-config.ts
pnpm run gettext:compile
pnpm build
- name: Set environment variables
run: |

View File

@@ -44,9 +44,6 @@ jobs:
- name: Generate pot files and merge po files
working-directory: web
run: pnpm run gettext:extract
- name: Compile po files to json
working-directory: web
run: pnpm run gettext:compile
- uses: stefanzweifel/git-auto-commit-action@v5
name: Commit changes
with: