Unverified Commit b43a07b1 authored by Sascha Marcel Schmidt's avatar Sascha Marcel Schmidt
Browse files

creates artifact from dev-stage assets

parent 4f3d290a
Pipeline #515 passed with stages
in 3 minutes and 7 seconds
...@@ -9,6 +9,7 @@ stages: ...@@ -9,6 +9,7 @@ stages:
- build - build
- layout - layout
- deploy - deploy
- dump
build: build:
stage: build stage: build
...@@ -43,10 +44,11 @@ layout: ...@@ -43,10 +44,11 @@ layout:
.deploy-template: &deploy_template .deploy-template: &deploy_template
stage: deploy stage: deploy
script: before_script:
- apk add openssh-client - apk add openssh-client
- eval $(ssh-agent -s) - eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" | ssh-add - - echo "$SSH_PRIVATE_KEY" | ssh-add -
script:
- ./.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: dependencies:
...@@ -67,3 +69,17 @@ deploy-develop: ...@@ -67,3 +69,17 @@ deploy-develop:
url: https://extensions-dev.typo3.org/ url: https://extensions-dev.typo3.org/
only: only:
- develop - 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