-
-
Notifications
You must be signed in to change notification settings - Fork 32
Description
I've been working on a library of snippets for the HPC Carpentry lessons as we need to make it easy for people to do site-specific customizations of the content. An implementation is in place, and we add something to the config.yaml to pick up the customization.
We need to read this configuration file while building the lesson but the location of the configuration file relative to the content is currently not very predictable. On a first run, the file is included in thte md_outputs branch, However, on a second run the file is removed. In https://github.com/carpentries-incubator/hpc-intro/blob/main/.github/workflows/sandpaper-main.yaml#L61-L68 we've had to customise the deployment workflow to always force a reset of that branch.
Is there a guaranteed location on all branches in the deployment workflow where the configuration file exists?