Skip to content
This repository was archived by the owner on Oct 1, 2018. It is now read-only.

Commit 09fe3b3

Browse files
authored
feat(build): build deploy from travis (#273)
* feat(i18n): Translate hardcode text in operator components Add translation for harcode test in operator components * chore(cname): delete cname from master (#263) * feat(build): build deploy from travis
1 parent 79507f5 commit 09fe3b3

File tree

3 files changed

+1495
-366
lines changed

3 files changed

+1495
-366
lines changed

.travis.yml

+14-10
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,20 @@ script:
2828
- ng build --prod
2929
- ng e2e
3030

31+
after_success:
32+
- bash <(curl -s https://codecov.io/bash)
33+
3134
before_deploy:
32-
- rm -rf ./dist
33-
- ng build
34-
- yes | rm *.* && rm -rf ./e2e ./node_modules ./src
35-
- cp -r ./dist/* ./
35+
- ng build --prod
36+
- ls -l
37+
- cd dist
38+
- echo "rxjsdocs.com" >> CNAME
3639

3740
deploy:
38-
provider: azure_web_apps
39-
verbose: true
40-
skip_cleanup: true
41-
42-
after_success:
43-
- bash <(curl -s https://codecov.io/bash)
41+
provider: pages
42+
skip-cleanup: true
43+
github-token: $GITHUB_TOKEN # Set in travis-ci.org dashboard, marked secure
44+
keep-history: true
45+
local-dir: dist
46+
on:
47+
branch: master

src/app/core/components/toolbar/toolbar.component.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
</mat-menu>
1717
<a aria-label="GitHub Repository" target="_blank" class="mat-button" href="https://github.com/ReactiveX" aria-disabled="false">
1818
<span class="mat-button-wrapper">
19-
<img src="../../../assets/img/GitHub-Mark-Light-64px.png" alt="ReactiveX GitHub Repository"> GitHub
19+
<img src="assets/img/GitHub-Mark-Light-64px.png" alt="ReactiveX GitHub Repository"> GitHub
2020
</span>
2121
</a>
2222
</mat-toolbar>

0 commit comments

Comments
 (0)