Syntaf / travis-sphinx

A standalone script for automated building and deploying of sphinx docs via travis-ci
GNU General Public License v3.0
113 stars 20 forks source link

Allow custom deploy repo using GH_REPO_SLUG env variable #38

Closed nocarryr closed 6 years ago

nocarryr commented 6 years ago

This modification was needed for what may or may not be an typical use case, but I still wanted to share it in case it seemed useful.

I maintain a project that I am not the owner of and cannot directly make certain changes to (the project owner isn't always active and I try to respect that as much as possible). The docs are set up and hosted through my fork, so I needed a way to make build.py deploy there.

Relevant PR: https://github.com/roger-/pyrtlsdr/pull/82

I welcome your comments/suggestions, etc. If this isn't something you feel should be part of this project, I can just keep my fork up for my own purposes.

codecov-io commented 6 years ago

Codecov Report

Merging #38 into master will increase coverage by 0.27%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #38      +/-   ##
==========================================
+ Coverage   81.48%   81.75%   +0.27%     
==========================================
  Files           5        5              
  Lines         135      137       +2     
==========================================
+ Hits          110      112       +2     
  Misses         25       25
Impacted Files Coverage Δ
travis_sphinx/deploy.py 94.87% <100%> (+0.27%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 5984fef...e9df3ec. Read the comment docs.

Syntaf commented 6 years ago

Thanks for the PR @nocarryr! I'll take a look when I get home and merge is ASAP