How to untar artifacts for persist_to_workspace?

Hi,

We are doing this to store our documentation:

  - store_artifacts:
      path: doc/build/html-scipyorg
      destination: html-scipyorg

  - persist_to_workspace:
      root: doc/build
      paths:
        - html-scipyorg

From the doc, we could upload a tar, but I don’t see how to untar once the data is transfered. Can we use command or something else in either store_artifacts or persist_to_workspace? We need to have the artifact uncompressed to render the doc on GitHub.

This would be a game changer as our CI takes 10 minutes to upload all the files.

1 Like