Skip to content

Fail to create CNAME file when there's no docs folder in the repo root #259

@iwismer

Description

@iwismer

I'm trying to use this action to deploy mkdocs, but I'm running into an error: /action.sh: line 25: /github/workspace/docs/CNAME: No such file or directory which seems to be related to the fact that I don't have a folder docs in the root of my repo, so the script isn't able to create a CNAME file. The relevant lines are: https://github.com/mhausenblas/mkdocs-deploy-gh-pages/blob/master/action.sh#L23-L26

I think there just needs to be some way to specify a custom docs/ folder is for the deployment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions