feat: better artifact management

Set 2 week expiry @ ppt/pdf artifact.
This commit is contained in:
Winston Smith 2023-03-03 21:31:07 +01:00
parent b6b2a9b39b
commit fb1ef692ed
1 changed files with 2 additions and 7 deletions

View File

@ -17,9 +17,6 @@ prepare_folders:
cache:
paths:
- .public
artifacts:
paths:
- .public
rules:
- if: $CI_COMMIT_BRANCH =~ /^make/
@ -38,6 +35,7 @@ render_pdf:
artifacts:
paths:
- .public/docs
expire_in: 2 week
rules:
- if: $CI_COMMIT_BRANCH =~ /^make/
@ -57,10 +55,10 @@ render_ppt:
artifacts:
paths:
- .public/docs
expire_in: 2 week
rules:
- if: $CI_COMMIT_BRANCH =~ /^make/
pages:
environment: $CI_COMMIT_BRANCH
stage: deploy
@ -73,8 +71,5 @@ pages:
paths:
- .public
- public
artifacts:
paths:
- public
rules:
- if: $CI_COMMIT_BRANCH =~ /^make/