upload working folder as a job artifact

This commit is contained in:
Ming Di Leom 2021-05-29 05:15:50 +00:00
parent 623e9bbd37
commit fa82cd6590
No known key found for this signature in database
GPG Key ID: 32D3E28E96A695E8
1 changed files with 6 additions and 0 deletions

View File

@ -45,6 +45,12 @@ deploy_job:
- if: '$CI_COMMIT_REF_NAME == "master" && $CI_PIPELINE_SOURCE == "web"'
when: always
# Upload working folder as a job artifact
artifacts:
paths:
- tmp/
expire_in: 30 days
failed_job:
stage: failed_stage