Skip to content

Action fails if directory in target branch does not exist #10

Description

@fabriciomurta

When the directory where the built documentation should be place does not exist in the target branch, the action creates it as it should, but then tries to run git rm -r . which, in turn, triggers an error, failing the step in a workflow.

To reproduce the issue just pass a directory: name to the action where the retype branch does not initially have a name directory (nor file) in it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions