From 1a85dbdd466505d6e754096d6da5e64ee8d39f0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8A=82=E7=9C=81=E9=92=B1?= <53551357+Jason-chen-coder@users.noreply.github.com> Date: Wed, 20 Jul 2022 17:32:25 +0800 Subject: [PATCH 1/4] Create CI.yml --- .github/workflows/CI.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/CI.yml diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml new file mode 100644 index 0000000..c94034f --- /dev/null +++ b/.github/workflows/CI.yml @@ -0,0 +1,37 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the V1.0-beat branch + push: + branches: [ main ] + pull_request: + branches: [ main ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# jobs 表示要执行的一项或者多项任务 +jobs: + # 任务名,可自定义 + build-and-deploy: + # runs-on字段指定运行所需要的虚拟机环境。它是必填字段。目前可用的虚拟机如下。 + runs-on: ubuntu-latest + # steps表示执行步骤 + steps: + # 检出代码,这里用了 actions/checkout@master 库来完成 + - name: Checkout + uses: actions/checkout@master + # 这里展示了如何执行多条命令 + - name: Install and Build + run: | + yarn + yarn build + # 这里引用了别人写好的发布库,具体参数信息可以查阅上面的链接 + - name: Deploy to GitHub Pages + uses: JamesIves/github-pages-deploy-action@4.0.0 + with: + branch: gh-pages + folder: dist From 71ca5ea6cce670fd783298bbd37a0cd09869a804 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8A=82=E7=9C=81=E9=92=B1?= <53551357+Jason-chen-coder@users.noreply.github.com> Date: Wed, 20 Jul 2022 17:34:40 +0800 Subject: [PATCH 2/4] Update CI.yml --- .github/workflows/CI.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index c94034f..aaa3fce 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -6,9 +6,9 @@ name: CI on: # Triggers the workflow on push or pull request events but only for the V1.0-beat branch push: - branches: [ main ] + branches: [ master ] pull_request: - branches: [ main ] + branches: [ master ] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: From 23d14c73a2b1431e420dfadccb94ec4e6e019df2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8A=82=E7=9C=81=E9=92=B1?= <53551357+Jason-chen-coder@users.noreply.github.com> Date: Wed, 20 Jul 2022 17:41:12 +0800 Subject: [PATCH 3/4] Create vue.config.js --- vue.config.js | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 vue.config.js diff --git a/vue.config.js b/vue.config.js new file mode 100644 index 0000000..795492a --- /dev/null +++ b/vue.config.js @@ -0,0 +1,3 @@ +module.exports = { + publicPath:'./' +} From 620a93f0c77cf7eb438f3bb2bfc0f7ea653557cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8A=82=E7=9C=81=E9=92=B1?= <53551357+Jason-chen-coder@users.noreply.github.com> Date: Tue, 13 Sep 2022 09:54:14 +0800 Subject: [PATCH 4/4] Create README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b6c134b..f125361 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ ## 效果图 -![home](.\src\assets\images\home.png) +![https://gitee.com/save_money/Easy-Editor/raw/master/src/assets/images/home.png](https://gitee.com/save_money/Easy-Editor/raw/master/src/assets/images/home.png) ## 功能