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

Set assets dump to only fetch fileadmin data

parent 20cbc1e9
...@@ -137,7 +137,8 @@ dump-assets: ...@@ -137,7 +137,8 @@ dump-assets:
- ./assets/ - ./assets/
expire_in: '1d' expire_in: '1d'
script: script:
- rsync -ah -e "ssh -p ${STAGE_PORT}" --exclude=services --exclude=_processed_ --exclude=typo3conf ${DUMP_USER}@${STAGE_HOST}:ci/shared/ ./assets/ --delete - mkdir -p ./assets/private/fileadmin/
- rsync -ah -e "ssh -p ${STAGE_PORT}" --exclude=_processed_ ${DUMP_USER}@${STAGE_HOST}:ci/shared/private/fileadmin/ ./assets/private/fileadmin/ --delete
- ssh -p${STAGE_PORT} ${DUMP_USER}@${STAGE_HOST} "${PHP_EXECUTABLE} ./ci/current/vendor/bin/typo3cms database:export --exclude-tables ${DUMP_EXCLUDE_TABLES_LIST} | gzip -9 -c" > ./assets/db.sql.gz - ssh -p${STAGE_PORT} ${DUMP_USER}@${STAGE_HOST} "${PHP_EXECUTABLE} ./ci/current/vendor/bin/typo3cms database:export --exclude-tables ${DUMP_EXCLUDE_TABLES_LIST} | gzip -9 -c" > ./assets/db.sql.gz
dependencies: dependencies:
when: when:
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