ankaios
ankaios copied to clipboard
Documentation workflow fails when running inside a repo fork
Currently, if someone forks the Ankaios repository in order to change the GH actions for example,
the "Deploy Documentation" job inside .github/workflows/documentation.yml
does not run successfully because the gh-pages branch is missing initially inside the forked repository.
Current Behavior
GH Action for deploying the documentation does not run successfully inside a Ankaios fork.
Expected Behavior
Documentation shall be deployed successfully even in the fork.
Steps to Reproduce
- Fork the Ankaios repository
- Make a change so that the documentation workflow runs
.github/workflows/documentation.yml
- Check the documentation workflow outcome it shall be failed at the moment
Context (Environment)
GH Action Fork
Logs
This is the error message about the missing branch gh-pages:
Additional Information
Final result
To be filled by the one closing the issue.