action #60278
closedcircleci fails on personal fork when branch "gh-pages" does not exist
100%
Description
Observation¶
Seems like the circleci job "build-docs" fails when the branch "gh-pages" does not exist, e.g. in personal forks, e.g. as in https://app.circleci.com/jobs/github/okurz/openQA/4 where I do not see the need to test anything related to "gh-pages" when.
Suggestion¶
Maybe we should just trigger the job "build-docs" on the branch gh-pages or when it exists?
Updated by andriinikitin almost 5 years ago
- Status changed from New to In Progress
- Assignee set to andriinikitin
- Target version set to Current Sprint
- Difficulty set to easy
Updated by andriinikitin almost 5 years ago
Just a note that this problem existed in travis days as well.
I will just let the script do nothing if the branch doesn't exists.
Updated by andriinikitin almost 5 years ago
okurz wrote:
Maybe we should just trigger the job "build-docs" on the branch gh-pages or when it exists?
The problem is that the job must be triggered on every branch and then must work with gh-pages. And I don't think CI is smart enough to provide such filter.
So the script will just finish if it cannot proceed and let the job finish.
Updated by andriinikitin almost 5 years ago
Updated by okurz almost 5 years ago
PR had been merged 8 days ago. Unless you want to do more for it I suggest to resolve this ticket.
Updated by andriinikitin almost 5 years ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100