Verified Commit dd8830cc authored by georg's avatar georg

CI: deploy: ignore 'dev' directory (regression fix)

Otherwise, if the master branch is deployed, the 'dev' directory is
removed, which possibly contains data we want to keep, for example code
coverage reports or proposed website changes.

This commit fixes a regression introduced in

It was tested via an intermediate commit to ensure it works as expected.

Relates !71
parent e7827555
Pipeline #24196 passed with stages
in 37 seconds
......@@ -53,7 +53,7 @@ deploy:
- lftp -e "mirror -eRv -x ^download/ _site $DEPLOY_SLUG; quit;" -u $DEPLOY_USER,dummy sftp://$DEPLOY_HOST
- lftp -e "mirror -eRv -x ^dev/ -x ^download/ _site $DEPLOY_SLUG; quit;" -u $DEPLOY_USER,dummy sftp://$DEPLOY_HOST
# TODO: Implement clean up: Remove the review dir once the merge to master happened.
stage: deploy
# It's currently not possible to use env vars which are / were set in the script: part above.
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