mirror of
https://github.com/doocs/md.git
synced 2024-11-28 13:36:32 +08:00
Merge branch 'master' of https://github.com/doocs/md
This commit is contained in:
commit
29c73dc54b
8
.github/workflows/sync.yml
vendored
8
.github/workflows/sync.yml
vendored
@ -17,11 +17,11 @@ jobs:
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: npm install, build
|
||||
run: |
|
||||
npm install
|
||||
npm run build --if-present
|
||||
uses: yanglbme/gitee-pages-action@master
|
||||
env:
|
||||
CI: true
|
||||
BRANCH: master # 存放产物的分支名称
|
||||
FOLDER: dist # 存放build后产物的目录
|
||||
BUILD_SCRIPT: npm install && npm run build # 执行的命令
|
||||
- name: Sync to Gitee
|
||||
uses: wearerequired/git-mirror-action@master
|
||||
env:
|
||||
|
@ -2,6 +2,7 @@
|
||||
"name": "vue-md",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"homepage": "https://doocs.gitee.io/md",
|
||||
"scripts": {
|
||||
"serve": "vue-cli-service serve",
|
||||
"build": "vue-cli-service build",
|
||||
|
4
vue.config.js
Normal file
4
vue.config.js
Normal file
@ -0,0 +1,4 @@
|
||||
module.exports = {
|
||||
outputDir: 'dist',
|
||||
publicPath: '/md/'
|
||||
}
|
Loading…
Reference in New Issue
Block a user