Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

index.html is not being created #160 #200

Open
Cevedale opened this issue Nov 14, 2023 · 2 comments
Open

index.html is not being created #160 #200

Cevedale opened this issue Nov 14, 2023 · 2 comments

Comments

@Cevedale
Copy link

think that your GitHub Actions workflow aims to run benchmarks and update a GitHub Pages branch (gh-pages). However, there is no explicit step for generating an index.html file or updating the content of the gh-pages branch. To address this, you should include a step to generate the index.html file based on your benchmark results, and then add a separate step to update the gh-pages branch with the new content. Make sure to customize these steps according to your project structure, and ensure that the necessary files are staged for commit. Additionally, verify that your repository has a gh-pages branch created, and GitHub Pages is configured to use this branch for rendering content.

@Cevedale
Copy link
Author

name: Update gh-pages branch
run: |
git fetch
git checkout gh-pages
git config --global user.name "eran-test-user"
git config --global user.email "username@users.noreply.github.com"

git add index.html
git commit -m "${{ github.run_number }}-${{ github.run_attempt }}"
git push 'https://eranreshef-starkware:${{ secrets.GITHUB_TOKEN }}@github.com/eranreshef-starkware/test-benchmark.git' gh-pages:gh-pages

@ktrz
Copy link
Member

ktrz commented Mar 28, 2024

Hi @Cevedale

This action will generate the index.html if it doesn't exist as specified in the README
Could you please specify what is not working for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants