Showing
1 changed file
with
13 additions
and
0 deletions
@@ -35,6 +35,19 @@ coverage:tag: | @@ -35,6 +35,19 @@ coverage:tag: | ||
35 | - ssh ci_upload@192.168.20.60 install -d trbase | 35 | - ssh ci_upload@192.168.20.60 install -d trbase |
36 | - rsync -vaurl --delete tests/coverage ci_upload@192.168.20.60:~/trbase/ | 36 | - rsync -vaurl --delete tests/coverage ci_upload@192.168.20.60:~/trbase/ |
37 | 37 | ||
38 | +docs: | ||
39 | + stage: deploy | ||
40 | + only: | ||
41 | + -tags | ||
42 | + script: | ||
43 | + - make docs | ||
44 | + - > | ||
45 | + rsync -vaurl --delete docs/api/*/html/ | ||
46 | + ci_upload@192.168.20.60:~/trbase/api_${CI_BUILD_ID} | ||
47 | + - > | ||
48 | + ssh ci_upload@192.168.20.60 | ||
49 | + ln -sf api_${CI_BUILD_ID} trbase/api_latest | ||
50 | + | ||
38 | dist: | 51 | dist: |
39 | stage: deploy | 52 | stage: deploy |
40 | only: | 53 | only: |
Please
register
or
login
to post a comment