Skip to content

Investigate using custom actions for gh-pages publish of this org #3

@getify

Description

@getify

I'm aware of how to use custom github actions for publishing to gh-pages (via a .github/workflows like I'm doing here).

However, I'm not sure if that same approach can work here, where the repository itself is used as the main org gh-pages deployment.

What I would like to be able to do is dynamically generate the list of projects -- currently hard coded in the index.html from the list of pinned projects of this BYOJS org. I was imagining a custom github action that uses the github API to query the repository, get the list of pinned projects, then push in the generated HTML to the index.html. Perhaps even could use a simple templating engine, like Mustache.

But the first question to figure out is, can this special repo -- again, used as the org gh-pages deploy -- itself override its deployment with a custom gh-pages deployment? I haven't been able to find any documentation on whether this special case has such support, all the docs I found were either about doing custom actions for a normal repo, OR doing this special magic deployment of a repo for the org, not both together.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgood first issueGood for newcomershelp wantedExtra attention is neededquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions