Skip to content

Commit f1dd3d6

Browse files
committed
publish dev webpage
1 parent 7329060 commit f1dd3d6

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.travis.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ script:
2020
- dotnet pack -c Release Tensor/Tensor.sln
2121
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then pwsh Tensor/Tensor.Docs/Build.ps1 ; fi
2222
after_success:
23-
- if [ "$TRAVIS_BRANCH" = "master" ] && [ "$TRAVIS_OS_NAME" = "linux" ]; then git clone https://github.com/DeepMLNet/webpage.git; rm -rf webpage/.git webpage/Tensor; cp -av Tensor/Tensor.Docs/_site/ webpage/Tensor; fi
23+
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then git clone https://github.com/DeepMLNet/webpage.git; rm -rf webpage/.git webpage/Tensor; cp -av Tensor/Tensor.Docs/_site/ webpage/Tensor; fi
2424
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then bash deploy.sh ; fi
2525
deploy:
2626
- provider: pages
@@ -33,3 +33,12 @@ deploy:
3333
on:
3434
branch: master
3535
condition: $TRAVIS_OS_NAME = linux
36+
- provider: pages
37+
local-dir: webpage
38+
repo: DeepMLNet/webpage-dev
39+
skip-cleanup: true
40+
github-token: $GITHUB_TOKEN
41+
keep-history: true
42+
on:
43+
branch: develop
44+
condition: $TRAVIS_OS_NAME = linux

0 commit comments

Comments
 (0)