forked from w3c/coga
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (32 loc) · 1.62 KB
/
.travis.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
35
36
37
language: node_js
env:
global:
- GH_REF: github.com/w3c/coga.git
git:
depth: 3
branches:
only:
master
before_script:
- git config --global user.email "[email protected]"
- git config --global user.name "michael-n-cooper"
script:
- cd ../..
- mkdir gh-pages
- cd gh-pages
- git clone --depth=1 --branch=gh-pages https://github.com/w3c/coga.git
- cd coga
- cp -R ../../w3c/coga/user-research/* user-research
- curl https://labs.w3.org/spec-generator/?type=respec"&"url=https://rawgit.com/w3c/coga/master/user-research/index.html -o user-research/index.html -f
- cp -R ../../w3c/coga/issue-papers/* issue-papers
- curl https://labs.w3.org/spec-generator/?type=respec"&"url=https://rawgit.com/w3c/coga/master/issue-papers/index.html -o issue-papers/index.html -f
- cp -R ../../w3c/coga/gap-analysis/* gap-analysis
- curl https://labs.w3.org/spec-generator/?type=respec"&"url=https://rawgit.com/w3c/coga/master/gap-analysis/index.html -o gap-analysis/index.html -f
# - curl https://labs.w3.org/spec-generator/?type=respec"&"url=https://rawgit.com/w3c/coga/master/gap-analysis/semantics.html -o gap-analysis/semantics.html -f
- curl https://labs.w3.org/spec-generator/?type=respec"&"url=https://rawgit.com/w3c/coga/master/extension/index.html -o extension/index.html -f
- cp -R ../../w3c/coga/techniques/* techniques
- curl https://labs.w3.org/spec-generator/?type=respec"&"url=https://rawgit.com/w3c/coga/master/techniques/index.html -o techniques/index.html -f
after_success:
- git add -A .
- git commit -m "Generated by TRAVIS-CI"
- git push "https://${GH_TOKEN}@${GH_REF}" gh-pages > /dev/null 2>&1