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

Automatic publishing #9

Open
jwnrt opened this issue Nov 10, 2022 · 1 comment
Open

Automatic publishing #9

jwnrt opened this issue Nov 10, 2022 · 1 comment

Comments

@jwnrt
Copy link
Contributor

jwnrt commented Nov 10, 2022

The hamburger menu has broken again, and it looks like the same issue as last time (#8):

  1. The site is loading conflicting versions of bootstrap's collapse.js and jQuery.
  2. The versions used in the source repo's yarn.lock are up to date and compatible.
  3. This repo somehow has duplicate copies of the JS and CSS where one is broken and being used by all the HTML files - currently main.90781.js (broken) and main.b0a63.js (working).

Since this seems to be a problem with how this repo is being generated, could we automate the build + publish steps?

Here's an example GitHub Actions setup for building a Hugo site when the main branch changes, and publishing the site from the directory of generated files: https://github.com/peaceiris/actions-hugo#getting-started.

There are some files in this repo not generated from the source, e.g. CNAME, and README.mkd (likely not needed if publishing from the lowrisc-web repo instead). Including these in the source would remove the extra state from this repo.

@mundaym
Copy link
Contributor

mundaym commented Dec 2, 2022

Sounds good to me

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