mirror of
https://github.com/CzBiX/qb-web.git
synced 2026-04-14 10:19:48 +08:00
Add travis ci
This commit is contained in:
19
.travis.yml
Normal file
19
.travis.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
language: node_js
|
||||
node_js: lts/*
|
||||
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
|
||||
before_deploy:
|
||||
- export TRAVIS_TAG=${TRAVIS_TAG:-$(date +'%Y%m%d')-$(git log --format=%h -1)}
|
||||
- git tag $TRAVIS_TAG
|
||||
|
||||
script: npm run build; [ -d dist/public ] && cp INSTALL.md dist && zip -r dist.zip dist
|
||||
|
||||
deploy:
|
||||
providers: releases
|
||||
api_key: "$GITHUB_OAUTH_TOKEN"
|
||||
file: dist.zip
|
||||
skip_cleanup: true
|
||||
overwrite: true
|
||||
16
INSTALL.md
Executable file
16
INSTALL.md
Executable file
@@ -0,0 +1,16 @@
|
||||
Setup:
|
||||
|
||||
1. Extrace all files.
|
||||
2. Open Web UI Options dialog, Set "Files location" of "alternative Web UI" to this folder(without `public` suffix).
|
||||
|
||||
========
|
||||
|
||||
安装说明:
|
||||
|
||||
1. 解压所有文件。
|
||||
2. 打开 Web 用户界面的设置,将 “使用备用 Web UI” 的 “文件路径” 设置为本目录(没有 `public` 后缀)。
|
||||
|
||||
=======
|
||||
|
||||
RECOVERY:
|
||||
If something was going wrong, you can visit `/api/v2/app/setPreferences?json=%7B%22alternative_webui_enabled%22:false%7D` to disable alternative Web UI.
|
||||
Reference in New Issue
Block a user