Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
球球不吃虾
vue-vben-admin
提交
5cc9488b
V
vue-vben-admin
项目概览
球球不吃虾
/
vue-vben-admin
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vue-vben-admin
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
5cc9488b
编写于
2月 24, 2021
作者:
V
Vben
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
workflow: add ftp-schedule workflow
上级
5eac9b23
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
78 addition
and
28 deletion
+78
-28
.github/workflows/deploy.yml
.github/workflows/deploy.yml
+3
-3
.github/workflows/ftp-schedule.yml
.github/workflows/ftp-schedule.yml
+55
-0
.vscode/i18n-ally-reviews.yml
.vscode/i18n-ally-reviews.yml
+0
-5
package.json
package.json
+3
-3
yarn.lock
yarn.lock
+17
-17
未找到文件。
.github/workflows/deploy.yml
浏览文件 @
5cc9488b
...
@@ -54,7 +54,7 @@ jobs:
...
@@ -54,7 +54,7 @@ jobs:
REMOTE_DIR
:
/srv/www/vben-admin
REMOTE_DIR
:
/srv/www/vben-admin
ARGS
:
--delete --verbose --parallel=80
ARGS
:
--delete --verbose --parallel=80
push-to-gh-page
:
push-to-gh-page
s
:
if
:
"
contains(github.event.head_commit.message,
'[deploy]')"
if
:
"
contains(github.event.head_commit.message,
'[deploy]')"
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
steps
:
steps
:
...
@@ -94,8 +94,8 @@ jobs:
...
@@ -94,8 +94,8 @@ jobs:
chmod 600 ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
ssh-keyscan github.com > ~/.ssh/known_hosts
ssh-keyscan github.com > ~/.ssh/known_hosts
chmod 700 ~/.ssh && chmod 600 ~/.ssh/*
chmod 700 ~/.ssh && chmod 600 ~/.ssh/*
git config --
global
user.email "vbenadmin@163.com"
git config --
locale
user.email "vbenadmin@163.com"
git config --
global
user.name "vbenAdmin"
git config --
locale
user.name "vbenAdmin"
-
name
:
Delete gh-pages branch
-
name
:
Delete gh-pages branch
run
:
|
run
:
|
...
...
.github/workflows/ftp-schedule.yml
0 → 100644
浏览文件 @
5cc9488b
name
:
schedule-push-to-ftp
# Timed deployment project
on
:
push
:
schedule
:
-
cron
:
'
0
15
*
*
*'
jobs
:
push-to-ftp
:
runs-on
:
ubuntu-latest
steps
:
-
name
:
Checkout
uses
:
actions/checkout@v2
-
name
:
Sed Config Base
shell
:
bash
run
:
|
sed -i 's#VITE_PUBLIC_PATH\s*=.*#VITE_PUBLIC_PATH = /next/#g' ./.env.production
sed -i "s#VITE_BUILD_COMPRESS\s*=.*#VITE_BUILD_COMPRESS = 'gzip'#g" ./.env.production
cat ./.env.production
-
name
:
use Node.js
14
uses
:
actions/setup-node@v2.1.2
with
:
node-version
:
'
14.x'
-
name
:
Get yarn cache
id
:
yarn-cache
run
:
echo "::set-output name=dir::$(yarn cache dir)"
-
name
:
Cache dependencies
uses
:
actions/cache@v2
with
:
path
:
${{ steps.yarn-cache.outputs.dir }}
key
:
${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys
:
|
${{ runner.os }}-yarn-
-
name
:
Build
run
:
|
yarn install
yarn run build
-
name
:
Deploy
uses
:
SamKirkland/FTP-Deploy-Action@2.0.0
env
:
FTP_SERVER
:
${{ secrets.FTP_SERVER }}
FTP_USERNAME
:
${{ secrets.FTP_USERNAME }}
FTP_PASSWORD
:
${{ secrets.FTP_PASSWORD }}
METHOD
:
sftp
PORT
:
${{ secrets.FTP_PORT }}
LOCAL_DIR
:
dist
REMOTE_DIR
:
/srv/www/vben-admin
ARGS
:
--delete --verbose --parallel=80
.vscode/i18n-ally-reviews.yml
已删除
100644 → 0
浏览文件 @
5eac9b23
# Review comments generated by i18n-ally. Please commit this file.
reviews
:
sys.login.autoLogin
:
description
:
'
1'
package.json
浏览文件 @
5cc9488b
...
@@ -66,7 +66,7 @@
...
@@ -66,7 +66,7 @@
"
@typescript-eslint/parser
"
:
"
^4.15.2
"
,
"
@typescript-eslint/parser
"
:
"
^4.15.2
"
,
"
@vitejs/plugin-legacy
"
:
"
^1.3.1
"
,
"
@vitejs/plugin-legacy
"
:
"
^1.3.1
"
,
"
@vitejs/plugin-vue
"
:
"
^1.1.4
"
,
"
@vitejs/plugin-vue
"
:
"
^1.1.4
"
,
"
@vitejs/plugin-vue-jsx
"
:
"
^1.1.
0
"
,
"
@vitejs/plugin-vue-jsx
"
:
"
^1.1.
1
"
,
"
@vue/compiler-sfc
"
:
"
^3.0.5
"
,
"
@vue/compiler-sfc
"
:
"
^3.0.5
"
,
"
autoprefixer
"
:
"
^10.2.4
"
,
"
autoprefixer
"
:
"
^10.2.4
"
,
"
commitizen
"
:
"
^4.2.3
"
,
"
commitizen
"
:
"
^4.2.3
"
,
...
@@ -93,7 +93,7 @@
...
@@ -93,7 +93,7 @@
"
stylelint-config-standard
"
:
"
^20.0.0
"
,
"
stylelint-config-standard
"
:
"
^20.0.0
"
,
"
stylelint-order
"
:
"
^4.1.0
"
,
"
stylelint-order
"
:
"
^4.1.0
"
,
"
ts-node
"
:
"
^9.1.1
"
,
"
ts-node
"
:
"
^9.1.1
"
,
"
typescript
"
:
"
^4.
1.5
"
,
"
typescript
"
:
"
^4.
2.2
"
,
"
vite
"
:
"
2.0.2
"
,
"
vite
"
:
"
2.0.2
"
,
"
vite-plugin-compression
"
:
"
^0.2.2
"
,
"
vite-plugin-compression
"
:
"
^0.2.2
"
,
"
vite-plugin-html
"
:
"
^2.0.2
"
,
"
vite-plugin-html
"
:
"
^2.0.2
"
,
...
@@ -103,7 +103,7 @@
...
@@ -103,7 +103,7 @@
"
vite-plugin-pwa
"
:
"
^0.5.3
"
,
"
vite-plugin-pwa
"
:
"
^0.5.3
"
,
"
vite-plugin-style-import
"
:
"
^0.7.4
"
,
"
vite-plugin-style-import
"
:
"
^0.7.4
"
,
"
vite-plugin-theme
"
:
"
^0.4.8
"
,
"
vite-plugin-theme
"
:
"
^0.4.8
"
,
"
vite-plugin-windicss
"
:
"
0.4.
9
"
,
"
vite-plugin-windicss
"
:
"
0.4.
12
"
,
"
vue-eslint-parser
"
:
"
^7.5.0
"
,
"
vue-eslint-parser
"
:
"
^7.5.0
"
,
"
yargs
"
:
"
^16.2.0
"
"
yargs
"
:
"
^16.2.0
"
},
},
...
...
yarn.lock
浏览文件 @
5cc9488b
...
@@ -1574,10 +1574,10 @@
...
@@ -1574,10 +1574,10 @@
regenerator-runtime "^0.13.7"
regenerator-runtime "^0.13.7"
systemjs "^6.8.3"
systemjs "^6.8.3"
"@vitejs/plugin-vue-jsx@^1.1.
0
":
"@vitejs/plugin-vue-jsx@^1.1.
1
":
version "1.1.
0
"
version "1.1.
1
"
resolved "https://registry.npmjs.org/@vitejs/plugin-vue-jsx/-/plugin-vue-jsx-1.1.
0.tgz#9bd45834db9e8d29a569e330917142c073dab347
"
resolved "https://registry.npmjs.org/@vitejs/plugin-vue-jsx/-/plugin-vue-jsx-1.1.
1.tgz#f9e1bb89591f8529218974d6e55d205964784bc9
"
integrity sha512-
7fpB9rdhWZ7DSdcK/w2sEuSaeOiSyhwu/2ojwl8qz1pshWEPQj9F2g9TaZtEBz298nOKBM0hUOCcKKRUO8Ga8A
==
integrity sha512-
xVpDaXmBsSMkUrYm1qhCrXqlzWuadwbYCPp0pm5N9g6pECTtd5+KgGN7SkIyDER+1cl+0vhkXdZAHu1MaS11gw
==
dependencies:
dependencies:
"@babel/core" "^7.12.10"
"@babel/core" "^7.12.10"
"@babel/plugin-syntax-import-meta" "^7.10.4"
"@babel/plugin-syntax-import-meta" "^7.10.4"
...
@@ -1708,10 +1708,10 @@
...
@@ -1708,10 +1708,10 @@
dependencies:
dependencies:
vue-demi latest
vue-demi latest
"@windicss/plugin-utils@0.4.
9
":
"@windicss/plugin-utils@0.4.
12
":
version "0.4.
9
"
version "0.4.
12
"
resolved "https://registry.npmjs.org/@windicss/plugin-utils/-/plugin-utils-0.4.
9.tgz#d2f61423c82421cf5507374120691ea39127d060
"
resolved "https://registry.npmjs.org/@windicss/plugin-utils/-/plugin-utils-0.4.
12.tgz#b75f218ec11e2970e6ccb7db556cf9930c1cb9ec
"
integrity sha512-
dD1Fagdtunr5om8SQMoJyxsFRL1Gh4JqEWlCIWxduMddHbY+S+4Atwifehy6T/2dCoyaGxlLk5yHbeNEdw40eA
==
integrity sha512-
5nZm/qHfnBBYWdtNZmU6IpXO5i/ckIiv+PhyeBOAGl5EXfly7h84YJ4NrkixusbhWMBwUdPi9Bs5m9rOR3oMpg
==
dependencies:
dependencies:
esbuild "^0.8.50"
esbuild "^0.8.50"
esbuild-register "^2.0.0"
esbuild-register "^2.0.0"
...
@@ -8600,10 +8600,10 @@ typedarray-to-buffer@^3.1.5:
...
@@ -8600,10 +8600,10 @@ typedarray-to-buffer@^3.1.5:
dependencies:
dependencies:
is-typedarray "^1.0.0"
is-typedarray "^1.0.0"
typescript@^4.
1.5
:
typescript@^4.
2.2
:
version "4.
1.5
"
version "4.
2.2
"
resolved "https://registry.npmjs.org/typescript/-/typescript-4.
1.5.tgz#123a3b214aaff3be32926f0d8f1f6e704eb89a72
"
resolved "https://registry.npmjs.org/typescript/-/typescript-4.
2.2.tgz#1450f020618f872db0ea17317d16d8da8ddb8c4c
"
integrity sha512-
6OSu9PTIzmn9TCDiovULTnET6BgXtDYL4Gg4szY+cGsc3JP1dQL8qvE8kShTRx1NIw4Q9IBHlwODjkjWEtMUyA
==
integrity sha512-
tbb+NVrLfnsJy3M59lsDgrzWIflR4d4TIUjz+heUnHZwdF7YsrMTKoRERiIvI2lvBG95dfpLxB21WZhys1bgaQ
==
uglify-js@^3.1.4:
uglify-js@^3.1.4:
version "3.12.5"
version "3.12.5"
...
@@ -8953,12 +8953,12 @@ vite-plugin-theme@^0.4.8:
...
@@ -8953,12 +8953,12 @@ vite-plugin-theme@^0.4.8:
es-module-lexer "^0.3.26"
es-module-lexer "^0.3.26"
tinycolor2 "^1.4.2"
tinycolor2 "^1.4.2"
vite-plugin-windicss@0.4.
9
:
vite-plugin-windicss@0.4.
12
:
version "0.4.
9
"
version "0.4.
12
"
resolved "https://registry.npmjs.org/vite-plugin-windicss/-/vite-plugin-windicss-0.4.
9.tgz#af7fdfb5b23487e562fa7f7f78c6ea42633df71
9"
resolved "https://registry.npmjs.org/vite-plugin-windicss/-/vite-plugin-windicss-0.4.
12.tgz#6a967daaaea084afea4352a019c316ff03eea09
9"
integrity sha512-
Q5S2fnVyOcAA12ERHLbXwCzr6NWQmCOluUVtlnKW29liMv7rN3k21bokyLlL+S7o23MLtK5Dbi54FuNqMQGibA
==
integrity sha512-
IXYgvJ58jMF1/lOejZGeOOmNotI+L+W9vMvdJBOykphsk7X+qc8nZfWKW0VvmX2JcI5Ry+QuQMM4JX0xVKnWYQ
==
dependencies:
dependencies:
"@windicss/plugin-utils" "0.4.
9
"
"@windicss/plugin-utils" "0.4.
12
"
windicss "^2.2.0"
windicss "^2.2.0"
vite@2.0.2:
vite@2.0.2:
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录