Pipeline Artifacts Displayed on README Break

We were previously using GitLab Pages to save the result of the builds and display them on the README, namely some images and a download for an archive.

After learning that this can be achieved with regular build artifacts, we’ve opted take this approach instead since it sounds a bit lighter and reduces a build step in the pipeline, however it appears the README is now broken during builds. I think it’s because the links are using the latest pipeline, not the latest successful pipeline.

Is there a solution to address this? Based on the documentation I was expecting it to be the latest successful pipeline.