From fd13d66367fc0deaf799f42a9f64e3b26c5dc820 Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Sun, 26 Jan 2020 18:54:11 +0100 Subject: [PATCH] Deploy documentation on tag only MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Before, the documentation was pushed to GitHub Pages whenever a new commit has been pushed to master. I.e., when a new feature was added, the documentation advertised the feature although hasn’t been released yet. Now, we only deploy the newly-build the documentation when a new tag is pushed, and ensure the the versionadded directives are added before releasing. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 43b3cea..086693b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,7 +27,7 @@ deploy: repo: instaloader/instaloader.github.io target-branch: master on: - branch: master + tags: true python: 3.6 - provider: script script: deploy/arch/deploy.sh $TRAVIS_TAG