-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
What's the meaning of on: branch of GitHub Pages Deployment ? #1091
Comments
@danielmorrison thanks for catching this!
It is set in the example because you probably don't want to force push from multiple branches to GH pages. Maybe @timwis can confirm this? I'll leave this issue open for now and fix the docs. |
Dear @plaindocs , Thanks for your answer. |
That is correct. When the build succeeds ON master, deployment happens. |
That's right - the example config executes the deployment only on |
Thanks for the speedy reply @timwis . Yeah, you are entirely correct that a lot of the deployments use the same boilerplate. Some of that same boilerplate not at it's freshest, and could probably use some improvements, and that is on me to fix. |
How do I deal with git tags on the The following did NOT trigger a deployment with the github pages provider:
The build log shows this message:
My
|
There is some information on tags https://docs.travis-ci.com/user/deployment#Conditional-Releases-with-on%3A If that doesn't help the folks on support@travis-ci.org will be happy to help |
@plaindocs Thanks for the link, I totally overlooked that. I didn't find a reasonable configuration in my experiments yesterday. Will update here if I find one. FWIW, I think this issue could be closed with the link given in #1091 (comment) |
|
Thanks for contributing to this issue. As it has been 90 days since the last activity, we are automatically closing the issue. This is often because the request was already solved in some way and it just wasn't updated or it's no longer applicable. If that's not the case, please do feel free to either reopen this issue or open a new one. We'll gladly take a look again! You can read more here: https://blog.travis-ci.com/2018-03-09-closing-old-issues |
Thanks for contributing to this issue. As it has been 90 days since the last activity, we are automatically closing the issue. This is often because the request was already solved in some way and it just wasn't updated or it's no longer applicable. If that's not the case, please do feel free to either reopen this issue or open a new one. We'll gladly take a look again! You can read more here: https://blog.travis-ci.com/2018-03-09-closing-old-issues |
Hello,
The documentation about github pages deployment suggest you this minimum configuration
However, there is no explanation about the meaning of the latest option
on: branch: master
. What is that about? I know it is not the target branch because that is explained below, so, what is it? The branch to monitor for changes? If it is that, how does this interfere with thebranches: only:
configuration?I find this quite confusing, and I can't find any reference to it.
Regards
The text was updated successfully, but these errors were encountered: