Showing
1 changed file
with
4 additions
and
2 deletions
@@ -22,9 +22,10 @@ coverage:dev: | @@ -22,9 +22,10 @@ coverage:dev: | ||
22 | - > | 22 | - > |
23 | rsync -vaurl --delete tests/coverage/*/ | 23 | rsync -vaurl --delete tests/coverage/*/ |
24 | ci_upload@192.168.20.60:~/trbase/coverage_${CI_BUILD_ID} | 24 | ci_upload@192.168.20.60:~/trbase/coverage_${CI_BUILD_ID} |
25 | + - ssh ci_upload@192.168.20.60 rm -f trbase/coverage_latest | ||
25 | - > | 26 | - > |
26 | ssh ci_upload@192.168.20.60 | 27 | ssh ci_upload@192.168.20.60 |
27 | - ln -sf coverage_${CI_BUILD_ID} trbase/coverage_latest | 28 | + ln -s coverage_${CI_BUILD_ID} trbase/coverage_latest |
28 | 29 | ||
29 | coverage:tag: | 30 | coverage:tag: |
30 | stage: test | 31 | stage: test |
@@ -44,9 +45,10 @@ docs: | @@ -44,9 +45,10 @@ docs: | ||
44 | - > | 45 | - > |
45 | rsync -vaurl --delete docs/api/*/html/ | 46 | rsync -vaurl --delete docs/api/*/html/ |
46 | ci_upload@192.168.20.60:~/trbase/api_${CI_BUILD_ID} | 47 | ci_upload@192.168.20.60:~/trbase/api_${CI_BUILD_ID} |
48 | + - ssh ci_upload@192.168.20.60 rm -f trbase/api_latest | ||
47 | - > | 49 | - > |
48 | ssh ci_upload@192.168.20.60 | 50 | ssh ci_upload@192.168.20.60 |
49 | - ln -sf api_${CI_BUILD_ID} trbase/api_latest | 51 | + ln -s api_${CI_BUILD_ID} trbase/api_latest |
50 | 52 | ||
51 | dist: | 53 | dist: |
52 | stage: deploy | 54 | stage: deploy |
Please
register
or
login
to post a comment