Merge pull request #1556 from atbore-phx/hf-travis

[CI ] to run once travis before_deploy
This commit is contained in:
Ludovic Fernandez 2017-05-05 15:19:55 +02:00 committed by GitHub
commit 3fd6da06e0

View file

@ -33,10 +33,14 @@ script:
after_failure:
- docker ps
before_deploy:
- make -j${N_MAKE_JOBS} crossbinary-others-parallel
- make image
- mkdocs build --clean
- tar cfz dist/traefik-${VERSION}.src.tar.gz --exclude-vcs --exclude dist .
- >
if ! [ "$BEFORE_DEPLOY_RUN" ]; then
export BEFORE_DEPLOY_RUN=1;
make -j${N_MAKE_JOBS} crossbinary-others-parallel;
make image;
mkdocs build --clean;
tar cfz dist/traefik-${VERSION}.src.tar.gz --exclude-vcs --exclude dist .;
fi
deploy:
- provider: pages
edge: true