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.
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-inhashFiles()
could not handle multiple paths. Updating this to allow for an improvement tohashFiles()
introduced two bugs: althoughfind
could access the files and directories anywhere below the current directory, the working directory in whichhashFiles()
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