Skip to content

Recording a weird custom domain error for posterity #20

@virginiascarlett

Description

@virginiascarlett

Recently, I was getting an error that apparently many other people have encountered.
https://github.com/orgs/community/discussions/22366
tschaub/gh-pages#236

Basically, my CNAME file on the gh-pages branch was being deleted every time I pushed to main. This screwed up the custom domain, so that I saw a 404 error at https://datastandards.janelia.org, but https://janeliascicomp.github.io/JaneliaDataStandards/ was okay.

Long story short, I solved it with this commit: e94052d

If you are ever in the position where pushing to main crashes https://datastandards.janelia.org, make sure there is a CNAME file in the root directory of gh-pages AND an identical CNAME file in the ROOT directory of main.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions