-
Notifications
You must be signed in to change notification settings - Fork 21
Description
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
FED3/docs/.github/workflows/sphinx-build.yml
Lines 52 to 58 in d8d7718
| # 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?