Skip to content
This repository was archived by the owner on Jun 15, 2021. It is now read-only.

Commit 55a42f7

Browse files
authored
Skipping ci build when updating site (#263)
1 parent 96dd69e commit 55a42f7

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

.travis.yml

+6-7
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,12 @@ branches:
99
- /.*/
1010
script:
1111
- cd docs_source_files && hugo && cd ..
12-
# deploy:
13-
# - provider: script
14-
# script: chmod +x $TRAVIS_BUILD_DIR/deploy.sh && $TRAVIS_BUILD_DIR/deploy.sh
15-
# skip_cleanup: true
16-
# on:
17-
# branch: gh-pages
18-
# condition: sender != selenium-ci
12+
deploy:
13+
- provider: script
14+
script: chmod +x $TRAVIS_BUILD_DIR/deploy.sh && $TRAVIS_BUILD_DIR/deploy.sh
15+
skip_cleanup: true
16+
on:
17+
branch: gh-pages
1918
notifications:
2019
irc:
2120
channels:

deploy.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ fi
1717
mv docs_source_files/public site
1818

1919
git add .
20-
git commit -m "Publishing site on `date`, commit ${TRAVIS_COMMIT} and job ${TRAVIS_JOB_NUMBER}" || true
20+
git commit -m "Publishing site on `date`, commit ${TRAVIS_COMMIT} and job ${TRAVIS_JOB_NUMBER}, [skip ci]" || true
2121
git push --force origin HEAD:gh-pages

0 commit comments

Comments
 (0)