加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 793 Bytes
一键复制 编辑 原始数据 按行查看 历史
vqqIM_admin 提交于 2020-03-13 10:42 . Update .travis.yml
sudo: false
branches:
only:
- master
language: nodejs
node_js:
- 12
install:
- npm install
jobs:
include:
- stage: Build
name: Upload dist to CDN
script:
- npm run build
- cd dist
- tar -cvf neditor.tar ./ && xz -z9 neditor.tar
#- sh -c "curl -T neditor.tar.xz http://v0.api.upyun.com/notadd/download/neditor/Neditor-next-master.tar.xz -u "$UPYUN" -v; fi"
#- echo "demo.neditor.notadd.com" > CNAME
deploy:
provider: pages
repo: notadd/neditor
skip-cleanup: true
github-token: $GITHUB_PUBLISH_TOKEN
keep-history: true
local-dir: ./dist
target-branch: gh-pages
name: Notadd Bot
verbose: true
on:
repo: notadd/neditor
branch: master
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化