forked from MassTransit/MassTransit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocs.yml
More file actions
23 lines (23 loc) · 691 Bytes
/
docs.yml
File metadata and controls
23 lines (23 loc) · 691 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
branches:
only:
- master
- develop
only_commits:
files:
- docs/**/*
- '**/*.md'
- '**/*.html'
- docs.yml
- package.json
install:
- npm install -g npm
- ps: $env:path = $env:appdata + "\npm;" + $env:path
- npm install -g gitbook-cli
- npm install --no-optional
build_script:
- node --version && npm --version
- git config --global credential.helper store
- git config --global user.name "%APPVEYOR_REPO_COMMIT_AUTHOR%"
- git config --global user.email "%APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL%"
- ps: Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:access_token):x-oauth-basic@github.com`n"
- "%CMD_IN_ENV% npm run docs:publish"