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

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: ...@@ -22,7 +22,7 @@ build:
artifacts: artifacts:
paths: paths:
- ./ - ./
expire_in: '7d' expire_in: '1h'
environment: ${CI_BUILD_REF_NAME} environment: ${CI_BUILD_REF_NAME}
layout: layout:
...@@ -49,6 +49,8 @@ layout: ...@@ -49,6 +49,8 @@ layout:
- echo "$SSH_PRIVATE_KEY" | ssh-add - - echo "$SSH_PRIVATE_KEY" | ssh-add -
- ./.gitlab-ci/scripts/deployer.sh -f/src/.gitlab-ci/deployer/deploy.php deploy ${CI_BUILD_REF_NAME} - ./.gitlab-ci/scripts/deployer.sh -f/src/.gitlab-ci/deployer/deploy.php deploy ${CI_BUILD_REF_NAME}
when: manual when: manual
dependencies:
- layout
deploy-master: deploy-master:
<<: *deploy_template <<: *deploy_template
......
Supports Markdown
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