mirror of
https://github.com/pterodactyl/documentation.git
synced 2025-12-10 09:17:40 -06:00
Add automatic deployment to GH pages I guess
This commit is contained in:
parent
a77d4ef96f
commit
65880046ec
24
.travis.yml
Normal file
24
.travis.yml
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
langauge: node_js
|
||||||
|
node_js:
|
||||||
|
- "10"
|
||||||
|
cache:
|
||||||
|
yarn: true
|
||||||
|
directories:
|
||||||
|
- "node_modules"
|
||||||
|
branches:
|
||||||
|
only:
|
||||||
|
- "master"
|
||||||
|
install:
|
||||||
|
- "yarn install"
|
||||||
|
- "yarn run build"
|
||||||
|
script:
|
||||||
|
- "echo \"No tests\""
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
provider: pages
|
||||||
|
skip_cleanup: true
|
||||||
|
github-token: $GITHUB_ACCESS_TOKEN
|
||||||
|
target-branch: "gh-pages"
|
||||||
|
local-dir: ".vuepress/dist"
|
||||||
|
on:
|
||||||
|
branch: master
|
||||||
Loading…
x
Reference in New Issue
Block a user