forked from MassTransit/MassTransit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docs.yml
27 lines (26 loc) · 812 Bytes
/
docs.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
branches:
only:
- master
- develop
only_commits:
files:
- docs/**/*
- docs.yml
- package.json
skip_branch_with_pr: true
environment:
access_token:
secure: qo5hUc/QgibFCPM6KatSAfO4q4+hkd31WTRHnc/1omGuI1ib5Had+484RCd6/Fa6
install:
- npm install -g npm
- ps: $env:path = $env:appdata + "\npm;" + $env:path
- npm install --no-optional
build_script:
- node --version && npm --version
- "%CMD_IN_ENV% npm run docs:build"
deploy_script:
- 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):[email protected]`n"
- "%CMD_IN_ENV% npm run docs:publish"