Commit 6f86b8ee authored by Thomas Löffler's avatar Thomas Löffler

Long expire only for layout stage and use layout artifacts only for deployment

parent 6bc58163
Pipeline #146 passed with stages
in 1 minute and 55 seconds
......@@ -22,7 +22,7 @@ build:
artifacts:
paths:
- ./
expire_in: '7d'
expire_in: '1h'
environment: ${CI_BUILD_REF_NAME}
layout:
......@@ -49,6 +49,8 @@ layout:
- echo "$SSH_PRIVATE_KEY" | ssh-add -
- ./.gitlab-ci/scripts/deployer.sh -f/src/.gitlab-ci/deployer/deploy.php deploy ${CI_BUILD_REF_NAME}
when: manual
dependencies:
- layout
deploy-master:
<<: *deploy_template
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment