File tree 2 files changed +4
-5
lines changed
2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ sudo: required
6
6
7
7
env :
8
8
global :
9
- - GH_REF : github.com/iluwatar/java-design-patterns.git
10
9
- secure : " DCpazS3nkLnter3sguXEAS2fC/1ZWNfM+XLyif9MfNFxlZdpni2vCD/jA0Rdpga8puQWHNVLyAec+RPFH/2qSmJ1c1UTV5MaLv8tPqwUX0VFA+1I6XoSv6oX4ldHTBWHEWqQHkRFOLoil0h0edc0tTOWQwXF8U+DLAB+HkRb4gw="
11
10
12
11
services :
@@ -24,7 +23,7 @@ script:
24
23
- ' if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then mvn clean verify sonar:sonar -Dsonar.projectKey=iluwatar_java-design-patterns -Dsonar.host.url=https://sonarcloud.io; fi'
25
24
26
25
after_success :
27
- - bash update-ghpages .sh
26
+ - bash update-website .sh
28
27
29
28
notifications :
30
29
email :
Original file line number Diff line number Diff line change 24
24
25
25
26
26
# Clone gh-pages
27
- git clone -b gh-pages " https://${GH_REF} " ghpagesclone
28
- cd ghpagesclone
27
+ git clone https://github.com/iluwatar/java-design-patterns-web.git
28
+ cd java-design-patterns-web
29
29
30
30
# Init and update submodule to latest
31
31
git submodule update --init --recursive
41
41
# it should be committed
42
42
git add .
43
43
git commit -m " :sparkles: :up: Automagic Update via Travis-CI"
44
- git push --quiet " https://${GH_TOKEN} :x-oauth-basic@${GH_REF} " gh-pages > /dev/null 2>&1
44
+ git push --quiet " https://${GH_TOKEN} :x-oauth-basic@github.com/iluwatar/java-design-patterns-web.git " gh-pages > /dev/null 2>&1
45
45
fi
You can’t perform that action at this time.
0 commit comments