ankaios icon indicating copy to clipboard operation
ankaios copied to clipboard

Documentation workflow fails when running inside a repo fork

Open inf17101 opened this issue 1 year ago • 0 comments

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

  1. Fork the Ankaios repository
  2. Make a change so that the documentation workflow runs .github/workflows/documentation.yml
  3. 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:

image

Additional Information

Final result

To be filled by the one closing the issue.

inf17101 avatar Oct 31 '23 15:10 inf17101