Skip to content

Commit

Permalink
调整自动化部署流程
Browse files Browse the repository at this point in the history
  • Loading branch information
2234839 committed Dec 24, 2023
1 parent 09debfb commit 219a108
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
# 1、生成静态文件
- name: Build
run: yarn && yarn workspace frontend build
- name: Build component
run: yarn workspace frontend build-components
# - name: Build component
# run: yarn workspace frontend build-components

# 2、部署到 gh-pages 分支
- name: Deploy
Expand Down
4 changes: 2 additions & 2 deletions apps/frontend/src/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ const defaultConfig = {
cdn: {
/** 思源 js、css等文件的前缀 */
siyuanPrefix:
'https://fastly.jsdelivr.net/gh/siyuan-note/oceanpress@latest/apps/frontend/public/notebook/',
'https://fastly.jsdelivr.net/gh/siyuan-note/oceanpress@v0.0.7/apps/frontend/public/notebook/',
/** 思源 js、css等文件zip包地址 */
publicZip:
'https://fastly.jsdelivr.net/gh/siyuan-note/oceanpress@latest/apps/frontend/public/public.zip',
'https://fastly.jsdelivr.net/gh/siyuan-note/oceanpress@v0.0.7/apps/frontend/public/public.zip',
},
/** html模板嵌入代码块,会将此处配置中的代码嵌入到生成的html所对应的位置 */
embedCode: {
Expand Down
Empty file added deploy.ts
Empty file.

0 comments on commit 219a108

Please sign in to comment.