artifacts – paths

Much like with caching, you specify an array of paths, which can include wildcards like so:

package:  artifacts:    paths:      - public/      - tests/*.html

In this case, everything in the public/ directory as well as any HTML files in the tests/ directory will be zipped, uploaded, and made available for download in the web user interface.

Get GitLab Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.