az-digital / digital.arizona.edu

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

Arizona Bootstrap releases fail to rebuild the documentation site. #24

Closed mmunro-ltrr closed 3 years ago

mmunro-ltrr commented 3 years ago

Problem/Motivation

The GitHub Action triggered (via repository dispatch) by a new Arizona Bootstrap release fails to rebuild its documentation site here.

Describe the bug

The Action uses a Docker image to host the site-rebuilding environment, first searching for it by a tag derived from a hash of some file contents. Formerly this used a complicated find command because the built-in hashFiles() could not handle multiple paths. Updating this to allow for an improvement to hashFiles() introduced two bugs: although find could access the files and directories anywhere below the current directory, the working directory in which hashFiles() operates does not contain those paths, so it returns an empty string for the hash; also the inclusion of package.json in the paths used to compute the hash in Arizona Bootstrap isn't copied here.

To View

See the log at https://github.com/az-digital/digital.arizona.edu/runs/2292029227