Skip to content

Commit

Permalink
feat: 增加批量发布的工作流
Browse files Browse the repository at this point in the history
  • Loading branch information
dogodo-cc committed May 24, 2024
1 parent 604b18c commit 484495f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy-huawei-all.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: 发布到华为云
name: 全量发布到华为云

on:
push:
branches: [ "master_alan" ]
branches: [ "master" ]
pull_request:
branches: [ "master_alan" ]
branches: [ "master" ]

workflow_dispatch:

Expand All @@ -14,15 +14,15 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [3.8, 3.7]
node-version: [3.8, 3.7, 3.6, 3.5, 3.4, 3.3, 3.2, 3.1, 3.0, 2.4]
steps:
- uses: actions/checkout@v4

- name: 设置 node 环境
uses: actions/setup-node@v4
with:
node-version: 22
cache: 'npm'
cache: npm

- name: 安装依赖
run: npm install
Expand Down
1 change: 1 addition & 0 deletions @config/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export const shared = defineConfig({
],

head: [
['link', { rel: 'icon', type: 'image/x-ico', href: '/favicon.ico' }],
[
'script',
{},
Expand Down
4 changes: 1 addition & 3 deletions versions/3.7/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,4 @@
[english doc](./en/index.md)


[中文文档](./zh/index.md)

1
[中文文档](./zh/index.md)
2 changes: 0 additions & 2 deletions versions/3.8/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@


[中文文档](./zh/index.md)

1

0 comments on commit 484495f

Please sign in to comment.