Commit b43a07b1 authored by Sascha Marcel Schmidt's avatar Sascha Marcel Schmidt

creates artifact from dev-stage assets

parent 4f3d290a
Pipeline #515 passed with stages
in 3 minutes and 7 seconds
......@@ -9,6 +9,7 @@ stages:
- build
- layout
- deploy
- dump
build:
stage: build
......@@ -43,10 +44,11 @@ layout:
.deploy-template: &deploy_template
stage: deploy
script:
before_script:
- apk add openssh-client
- eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" | ssh-add -
script:
- ./.gitlab-ci/scripts/deployer.sh -f/src/.gitlab-ci/deployer/deploy.php deploy ${CI_BUILD_REF_NAME}
when: manual
dependencies:
......@@ -67,3 +69,17 @@ deploy-develop:
url: https://extensions-dev.typo3.org/
only:
- develop
dump-assets:
<<: *deploy_template
stage: dump
artifacts:
paths:
- ./assets/
expire_in: '7d'
script:
- rsync -ah -e "ssh -p 22179" extensionsdev@extensions-dev.typo3.org:ci/shared/ ./assets/
dependencies:
when:
only:
- develop
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