mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 09:13:49 +08:00
feat: 前端翻译仅在编译时打包
This commit is contained in:
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
@@ -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
|
||||
|
||||
1
.github/workflows/goreleaser.yml
vendored
1
.github/workflows/goreleaser.yml
vendored
@@ -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: |
|
||||
|
||||
3
.github/workflows/l10n.yml
vendored
3
.github/workflows/l10n.yml
vendored
@@ -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:
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user