stages: - build create-archive: stage: build image: alpine script: - apk add --no-cache tar gzip - ls -la - tar --exclude='*.story.vue' --ignore-failed-read -czf master.tar.gz . artifacts: paths: - master.tar.gz expire_in: 12 week # The artifact will be kept for 1 week only: - master # Run this job only on the 'main' branch