Skip to content

Commit

Permalink
patch: test1
Browse files Browse the repository at this point in the history
  • Loading branch information
xsf0105 committed Mar 26, 2024
1 parent e8c6a48 commit 50a0866
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 25 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/dependence-auto-update.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
# 当 quark-doc-home 有新版本发布,会自动触发当前工程打包,从而实现自动更新官网对应内容更新
name: sync to quark-ecosystem/quarkd-docs
# # 当 quark-doc-home 有新版本发布,会自动触发当前工程打包,从而实现自动更新官网对应内容更新
# name: sync to quark-ecosystem/quarkd-docs

on:
repository_dispatch:
types: [my-event] # 触发条件
# on:
# repository_dispatch:
# types: [my-event] # 触发条件

jobs:
copy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3 # 检出仓库
- uses: actions/setup-node@v3 # 设置node版本
with:
node-version: 16
- run: npm install
- run: npm run build
# jobs:
# copy:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3 # 检出仓库
# - uses: actions/setup-node@v3 # 设置node版本
# with:
# node-version: 16
# - run: npm install
# - run: npm run build

- name: Sync
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: main # action 应该部署到的分支。
folder: dist # 操作应该部署的文件夹。
clean: true
repository-name: quark-ecosystem/quarkd-docs
token: ${{ secrets.GIT_ACTION }}
target-folder: vue/
# - name: Sync
# uses: JamesIves/github-pages-deploy-action@v4
# with:
# branch: main # action 应该部署到的分支。
# folder: dist # 操作应该部署的文件夹。
# clean: true
# repository-name: quark-ecosystem/quarkd-docs
# token: ${{ secrets.GIT_ACTION }}
# target-folder: vue/
5 changes: 4 additions & 1 deletion .github/workflows/deploy-v2-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ on:
- ".github/workflows/**"
- "**"

repository_dispatch:
types: [my-event] # 触发条件

jobs:
copy:
publish-site:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3 # 检出仓库
Expand Down

0 comments on commit 50a0866

Please sign in to comment.