Skip to content

Docs workflow currently tries to deploy on pull requests #14

@matt-graham

Description

@matt-graham

Describe the Bug

Currently the documentation workflow defined in .github/workflows/docs.yaml is set to try deploy built documentation in all workflow runs irrespective of triggering event. This causes workflow to fail on pull-requests as the associated deployment environment is configured to only allow deployment from default (main) branch.

To Reproduce

...

Expected Behaviour

Docs workflow deploy job not run on PRs

Actual Behaviour

Docs workflow deploy job tries to run and fails on PRs

Version In Use

Additional Context

- Python version:
- Operating system:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions