Skip to content

Adapt doc site from open ephys #11

@matiasandina

Description

@matiasandina

The page is building but it's looking for an index.html on the repo that isn't being created or is not pushed to Github for some reason.

If you check here, https://github.com/open-ephys/shuttledrive-docs/tree/gh-pages, github actions is creating the index.html (and all other files) for the page to actually work.

Anyhow, right now it's not rendering as expected and we get a sort of 404 error. I think some of the config files are using open ephys info. I think we are not seeing the gh-pages branch because this line is trying to commit to the open ephys repo instead of this repo.

git clone https://github.com/open-ephys/shuttledrive-docs.git --branch gh-pages --single-branch gh-pages

I think there might be some token creation step that might also be missing:
See here where token is trying to be used to push to the gh-pages branch

# 3. Push changes to gh-pages branch (updates documentation page)
- name: Push changes
uses: ad-m/github-push-action@master
with:
branch: gh-pages
directory: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}

Maybe this tutorial helps?

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