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

gh-pages site is failing to build #3

Closed
Robinlovelace opened this issue Oct 3, 2020 · 9 comments
Closed

gh-pages site is failing to build #3

Robinlovelace opened this issue Oct 3, 2020 · 9 comments

Comments

@Robinlovelace
Copy link
Contributor

As shown here: https://github.com/saferactive/site/branches

Heads-up @layik I think it needs a .nojekyll file. I'm not sure if fixing this to auto-deploy with updated actions is a good use of time but will be great if we can get it working on gh pages as well as netlify, which is working and autodeploys with every commit, as shown here: https://lucid-mayer-06a7e9.netlify.app/

@layik
Copy link
Contributor

layik commented Oct 3, 2020

I will do it for fun :) not a fan of Netlify like sites. You can still point the URL to Netlify if you wish to :)

@layik
Copy link
Contributor

layik commented Oct 3, 2020

The reason is failing is that I did not do the reset properly.

@layik
Copy link
Contributor

layik commented Oct 3, 2020

#5

@layik layik changed the title gh-pages site if failing to build gh-pages site i failing to build Oct 3, 2020
@layik layik changed the title gh-pages site i failing to build gh-pages site is failing to build Oct 3, 2020
@Robinlovelace
Copy link
Contributor Author

I will do it for fun :) not a fan of Netlify like sites. You can still point the URL to Netlify if you wish to :)

Sounds like a good mission! The site seems to have redirected OK, with continuous deployment within ~1m of each commit: https://www.saferactive.org/

Do we need to update the settings so https://saferactive.github.io/site/ works?

@Robinlovelace
Copy link
Contributor Author

I think this is a good example of a hugodown-built website built with netlify: https://github.com/mdneuzerling/mdneuzerling.com

Trying to find gh-pages deploys but to no avail, we may be the first to do so via actions: https://www.google.com/search?channel=fs&q=hugodown+%22github+actions%22

Context: r-lib/hugodown#31

@Robinlovelace
Copy link
Contributor Author

Thinking about it, I think cracking-on with issues in the trafficalmr package is a better use of time. Plan to remove the gh-pages branch and the actions.yml on Monday. I think it's good to play and experiment but this repo may not be the best place for that...

@layik
Copy link
Contributor

layik commented Oct 4, 2020

Right your call. I am against this theme which relies fully on Netlify, that is not reproducibility as we know it. I cannot even run it on my machine, almost impossible with big letters and red colour docs nothing changes.

@layik layik closed this as completed Oct 4, 2020
@Robinlovelace
Copy link
Contributor Author

I cannot even run it on my machine

Happy to do a co-coding session to reproduce the website locally.

Robinlovelace added a commit that referenced this issue Oct 4, 2020
@layik
Copy link
Contributor

layik commented Oct 4, 2020

It is done now but this is the worst academic thing I have ever seen. I will document this for myself as last time I did this was not this hard, but wont try and contribute upstream as I believe they want to keep this to themselves + netlify.

Plan should remain the same and effort should be directed elsewhere.

Screenshot 2020-10-04 at 21 15 21

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