Skip to content

config.yaml not always available in md_outputs branch #695

@ocaisa

Description

@ocaisa

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?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions