Browse Source

release: v3 release test

kailong321200875 3 years ago
parent
commit
3ed1954ac0
2 changed files with 12 additions and 6 deletions
  1. 3 5
      .github/workflows/main.yml
  2. 9 1
      package.json

+ 3 - 5
.github/workflows/main.yml

@@ -49,9 +49,7 @@ jobs:
 
       - name: Deploy
         uses: peaceiris/actions-gh-pages@v3
-        env:
-          ACTIONS_DEPLOY_KEY: ${{secrets.ACTIONS_DEPLOY_KEY}}
-          PUBLISH_BRANCH: gh-pages
-          PUBLISH_DIR: ./dist-pro
         with:
-          forceOrphan: true
+          deploy_key: ${{secrets.ACTIONS_DEPLOY_KEY}}
+          publish_branch: gh-pages
+          publish_dir: ./dist-pro

+ 9 - 1
package.json

@@ -101,5 +101,13 @@
   "engines": {
     "node": ">= 14.0.0"
   },
-  "license": "MIT"
+  "license": "MIT",
+  "repository": {
+    "type": "git",
+    "url": "git+https://github.com/kailong321200875/vue-element-plus-admin.git"
+  },
+  "bugs": {
+    "url": "https://github.com/kailong321200875/vue-element-plus-admin/issues"
+  },
+  "homepage": "https://github.com/kailong321200875/vue-element-plus-admin"
 }