Commit 6687c46d authored by ng's avatar ng

Merge branch '34-ci-deploy-ignore-download-dir' into 'master'

CI: Ignore 'download' directory while deploying

Closes #34

See merge request !47
parents aff03cf9 cbaf5cfb
Pipeline #15334 passed with stages
in 2 minutes and 22 seconds
......@@ -73,7 +73,7 @@ deploy:
" > ~/.ssh/known_hosts
- tar fxv site.tar.gz
# It seems, lftp needs a "dummy" password, even if key-based authentication is used
- lftp -e "mirror -eRv _site www; quit;" -u $DEPLOY_USER,dummy sftp://$DEPLOY_HOST
- lftp -e "mirror -eRv -x ^download/ _site www; quit;" -u $DEPLOY_USER,dummy sftp://$DEPLOY_HOST
stage: deploy
only:
- master@schleuder/schleuder-website
......
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