Skip to content
Snippets Groups Projects
Commit 6ede9457 authored by Christopher Krawietz's avatar Christopher Krawietz
Browse files

[TASK] — Delete public before build and add expire date for artefacts

parent 39b53792
No related branches found
No related tags found
No related merge requests found
......@@ -15,10 +15,15 @@ linting:
deploy:
stage: deploy
image: node:14.15.1
cache:
paths:
- node_modules/
script:
- yarn install
- rm -rf public
- yarn build
artifacts:
expire_in: 1 day
paths:
- public
only:
......
......@@ -12,6 +12,8 @@ module.exports = {
base: '/',
dest: 'public',
publicPath: process.env.NODE_ENV === 'production' ? '/design-system.sh/' : '/',
/**
* Extra tags to be injected to the page HTML `<head>`
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment