Skip to content

after_script or equivalent in .gitlab-ci.yml

With reference to the docs

Would be useful to have a step that runs after every other step, regardless of whether the build succeeds or not (essentially a tidy up/tear down step)

My specific use case is wanting to remove a directory from a cache after a build on a feature branch (which is essentially caused by this npm issue)

Thoughts?