-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
31 lines (31 loc) · 1.24 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
language: node_js
node_js:
- '12'
before_install:
- MESSAGE=$(git log --format=%B -n 1 $TRAVIS_COMMIT)
- echo $TRAVIS_COMMIT
- echo ${MESSAGE}
install:
- yarn
test: true
script:
- yarn build
# cache: yarn
after_success:
- MESSAGE=$(git log --format=%B -n 1 $TRAVIS_COMMIT)
- cd dist
- cp index.html 404.html
- echo GH_TOKEN:$GH_TOKEN
- sed -i "s/GH_TOKEN:\"$GH_TOKEN\"\,/ /g" umi.js
deploy:
provider: pages
skip_cleanup: true
github_token: "$GH_TOKEN"
on:
branch: main
repo: RihuaChen/formily-doc
target_branch: gh-pages
local_dir: dist
env:
global:
secure: ddJLYI/8diRG0eZF+91SQn01NMqIAODJ7c30HA8ljt/X/MbdywG1KAIBV8wseNg3J0oB2yUAzQTBBdTfLn78RS63t20aY2QyFkJSSRCPeKgr6r06ft/+EWt7as9dUPQluevya9JVXtQuoi3lLjxB+wMX/Ml7d6H45jC+xjihMDK11WolvJwB0nMdLMpdVFWVgasXnCusFPakE/f1rm1hDlzZrrljRHlOxK4NZXZWvpP9/9bzDBYcpztBeP4ZBcMOmAhu1mr0CtpLhGmfjmbvJjBFiDHh4Tdj5wzzGklm/2+5d+QuK+4+8jcS7dVINk0Zsxh3Rd2O5pM5x5e6adq5QkijinheG7Yq9yH8QheELN0hZ7rhfLHKLc3wPIqe2sT6To8pipmk0H5Vm9I5cUojSj7sExB+wUCkZHFdpOgBptwSdeNBItBOAcdguUsROTv8+v/J9AIUftehTzBbCDj5JGq7oj4usM5Pr56wiR2Fm50w/Eu8yX5XUqDZmblG1CSwc7P2EyNxIv8KBNT94RGIPhCIZQrx7pBeve5ty7ECx4UqS20gfcwekFjIuI79sbSGUnyyUBt5pNhTEj7c7+FwL9ETKcU8YvIbOKnub9USTgzXCKv/2WlIrkro/OGaEyKJvgCR8POwWYh/4HhAJPQh2Xg5tXSxUZ5MqSZHZS3Cuzc=