New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Pull gh-pages building to deploy script #445
Conversation
@nschonni, thanks. I think this could prove helpful. Before I can test it out, I'll have to switch to using a token for auth. And, we should make sure all the editors are using tokens before we merge as well. |
If they don't have the I added this comment in the
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I trust that you tested this :)
feff879
to
001cf2c
Compare
@jessebeach thanks for pinging me on this. I rebased again for the conflicts, and the only "issue" this has is that people forking don't get warned about needing to set their own GitHub token on Travis if they want their own GH Pages to build. This was kind of the situation before since PR builds don't have access to the secure variables now either |
@michael-n-cooper, we really need the ability to run checks on PRs with a base branch other than master. You previously voiced a concern regarding history in the gh-pages branch. So far, in my experience, I see running checks on branches other than master as much higher value than that history; I never look at logs for gh-pages and am not sure I would ever have a reason to do so. Are you OK with this change, especially in light of our recent discussion to build the apg-1.2 branch in a 1.2 subdir in the gh-pages branch? |
This should still keep the history from |
@nschonni could you move the conditional from the
|
6d575d9
to
d67e56a
Compare
Move the logic for doing the manual gh-pages deployment to the built-in Travis-CI “script” deployment. This allows all branches to be built and tested, but only the master branch to be deployed.
d67e56a
to
d071d51
Compare
@jessebeach done, used a zero check and an |
LGTM |
OK ... I've spent enough time just looking at this ... I'm going to merge so I can test for real. |
chore: Pull gh-pages building to deploy script (pull #445) Move the logic for doing the manual gh-pages deployment to the built-in Travis-CI “script” deployment. This allows all branches to be built and tested, but only the master branch to be deployed.
Trivial editorial change to test new build/test/deploy scripts from PR #445.
Treegrid Pattern: Change new pattern warning to editor's note Trivial editorial change to test new build/test/deploy scripts from PR #445.
so far, so good... first build to gh-pages by pushing to master passed. The logs for the build look clean. |
@mcking65 if you close and open the existing PRs I think they should get picked up by the build now |
Move the logic for doing the manual gh-pages deployment to the built-in
Travis-CI “script” deployment.
This allows all branches to be built and tested, but only the master
branch to be deployed.
This also allows people to setup and test their own gh-pages since it used the fork's repo slug as long as they have setup their own
GH_TOKEN
value.EX: when I put the filter back to the master branch, the deployment no-ops https://travis-ci.org/nschonni/aria-practices/builds/269029973
EX: when I had it set to the feature branch for testing, the deployment goes ahead https://travis-ci.org/nschonni/aria-practices/builds/269029438
Closes #433