[docfmt] Make stale overrides rarer
This commit is contained in:
parent
88b4df9d8a
commit
d0f860f7c7
20
.travis.yml
20
.travis.yml
|
@ -17,13 +17,7 @@ env:
|
||||||
before_script:
|
before_script:
|
||||||
- docker pull jare/spacetools:latest
|
- docker pull jare/spacetools:latest
|
||||||
script:
|
script:
|
||||||
- |
|
- git checkout "${TRAVIS_BRANCH}"
|
||||||
cd /
|
|
||||||
rm -rf "${TRAVIS_BUILD_DIR}"
|
|
||||||
git clone "https://github.com/${SPACEMACS_REPO_SLUG}" \
|
|
||||||
-b "${TRAVIS_BRANCH}" \
|
|
||||||
"${TRAVIS_BUILD_DIR}"
|
|
||||||
cd "${TRAVIS_BUILD_DIR}"
|
|
||||||
before_deploy:
|
before_deploy:
|
||||||
- >
|
- >
|
||||||
if ! [ "$BEFORE_DEPLOY_RUN" ]; then
|
if ! [ "$BEFORE_DEPLOY_RUN" ]; then
|
||||||
|
@ -36,10 +30,18 @@ deploy:
|
||||||
script: ".travisci/pub_org.sh"
|
script: ".travisci/pub_org.sh"
|
||||||
on:
|
on:
|
||||||
branch: develop
|
branch: develop
|
||||||
condition: $TRAVIS_REPO_SLUG = $SPACEMACS_REPO_SLUG
|
# Deploy only if we are in the official repo and
|
||||||
|
# the local revision matches origin's head
|
||||||
|
condition: $TRAVIS_REPO_SLUG = $SPACEMACS_REPO_SLUG && \
|
||||||
|
$(git remote update) && \
|
||||||
|
$(git rev-parse '@') = $(git rev-parse '@{u}')
|
||||||
- provider: script
|
- provider: script
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
script: ".travisci/pub_html.sh"
|
script: ".travisci/pub_html.sh"
|
||||||
on:
|
on:
|
||||||
all_branches: true
|
all_branches: true
|
||||||
condition: $TRAVIS_REPO_SLUG = $SPACEMACS_REPO_SLUG
|
# Deploy only if we are in the official repo and
|
||||||
|
# the local revision matches origin's head
|
||||||
|
condition: $TRAVIS_REPO_SLUG = $SPACEMACS_REPO_SLUG && \
|
||||||
|
$(git remote update) && \
|
||||||
|
$(git rev-parse '@') = $(git rev-parse '@{u}')
|
||||||
|
|
Loading…
Reference in a new issue