vuepress-plugin-live
Version:
Make your markdown code examples come alive
39 lines (31 loc) • 684 B
YAML
language: node_js
node_js:
- lts/*
install:
- npm ci
# In order to avoid double build on pull requests,
# only build on pushes on master and on pushes on pull requests
branches:
only:
- master
stages:
- test
- name: demo
if: type != pull_request AND branch = master
- name: release
if: type != pull_request AND branch = master
jobs:
include:
- stage: test
script:
- npx danger ci
- stage: demo
script: npm run docs:build
deploy:
skip_cleanup: true
provider: surge
project: ./docs/dist/
domain: vuepress-live.surge.sh
- stage: release
script:
- npx semantic-release