Skip to content

Conversation

@rschamp
Copy link
Contributor

@rschamp rschamp commented Sep 20, 2019

These builds make our gh-pages branch too large for GitHub to handle. Thanks to @fsih for deleting all those builds. This will keep them from re-populating.

@fsih I'm never sure who to assign for this type of change, so I assigned you since we talked about it. Here's the relevant part of Travis' docs. https://docs.travis-ci.com/user/deployment/#conditional-releases-with-on

These builds make our gh-pages branch too large for GitHub to handle.
@rschamp rschamp added this to the September 2019 milestone Sep 20, 2019
@rschamp rschamp requested a review from fsih September 20, 2019 14:20
on:
all_branches: true
condition: $TRAVIS_EVENT_TYPE != cron && ! $TRAVIS_BRANCH =~ ^greenkeeper/
tags: false # Don't push tags to gh-pages
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It says setting tags "causes the branch condition to be ignored", so I think that means you don't need the all_branches line

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From what I can tell, without all_branches, it uses the default for branch which is whichever primary branch is configured in GitHub (develop on most repos), which would cause this step to only trigger on one branch. So I think it's necessary to keep it.

@rschamp rschamp merged commit 519256c into scratchfoundation:develop Sep 23, 2019
@rschamp rschamp assigned rschamp and unassigned fsih Sep 23, 2019
@rschamp rschamp deleted the dont-build-tags branch September 23, 2019 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants