forked from quartznet/quartznet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docs.yml
34 lines (28 loc) · 863 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
27
28
29
30
31
32
33
34
branches:
only:
- master
- develop
- automate-doc-publish
only_commits:
files:
- docs/**/*
- docs.yml
- package.json
- package.lock.json
skip_branch_with_pr: true
install:
- npm install -g npm
- ps: $env:path = $env:appdata + "\npm;" + $env:path
- npm ci --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"
environment:
access_token:
secure: XVMaRsneejSmQsRVdv/SA/FNS3wPz+wrQfOepB5CmdD46za4nOF0RmzoLIo5JDnx