az-digital / digital.arizona.edu

digital.arizona.edu
https://digital.arizona.edu/
1 stars 1 forks source link

The Arizona Bootstrap change from Jekyll to Hugo will break release updates here #22

Closed mmunro-ltrr closed 3 years ago

mmunro-ltrr commented 3 years ago

Problem/Motivation

Nothing is breaking yet, but the first Arizona Bootstrap release after /az-digital/arizona-bootstrap/pull/233 is merged will fail to update the documentation correctly here.

Describe the bug

A new release in the Arizona Bootstrap repository triggers a GitHub Action to rebuild the documentation here, rather than copying over the files modified there. The release Action references the Jekyll static site builder and its supporting Ruby environment, which will become obsolete when Arizona Bootstrap follows Twitter Bootstrap in changing from Jekyll to Hugo as its static site building tool.

Proposed resolution

Updating the static site building configuration to match the one Arizona Bootstrap is using after the change from Jekyll to Hugo there (but before the next Arizona Bootstrap release) will resolve the problem. Note that the restriction mentioned in a comment about the hashFiles() function in GitHub Actions being unable to use multiple patterns is no longer valid.

mmunro-ltrr commented 3 years ago

Pull request #23 should have closed this, but the updates from the Arizona Bootstrap release broke anyway. Closing & making a new issue.