antd-curd
Version:
基于 ant design 、 dva 的增删改查页面组件
19 lines (16 loc) • 692 B
YAML
# Tells Travis we're running on a Node environment
language: 'node_js'
node_js: '8'
# Script that is run before the script phase
before_script:
- yarn build-storybook
# Deployment information
deploy:
provider: pages # Tell Travis we want to deploy to Github Pages
skip-cleanup: true
github-token: $GITHUB_TOKEN # Will take the environment variable you created on step 5
local_dir: storybook-static # The folder that needs to be deployed
repo: theprimone/antd-curd # Add your username/project_name here
target_branch: gh-pages # Tell Travis to deploy on the gh-pages branch
on:
branch: master # Tell Travis to trigger a deploy only when we push to master