Verified Commit d02c8775 authored by Quentin Duchemin's avatar Quentin Duchemin
Browse files

Use alpine SFTP client

parent c80fb4ee
Pipeline #54252 failed with stages
in 28 seconds
......@@ -13,13 +13,10 @@ beamer-build:
tags: [build]
synchronize:
image: chartedcode/alpine-sftp-client
stage: deploy
before_script:
- apt-get update -y
- apt-get install -y openssh-client sshpass
script:
- sshpass -p ${SFTP_PASSWORD} sftp -o StrictHostKeyChecking=no -P 2222 ${SFTP_USER}@${SFTP_HOST}:uploads <<< $'mkdir api\n cd api\n put *.pdf openpgp.pdf'
- rsync -e"ssh -i id_rsa -o StrictHostKeyChecking=no" -avz *.pdf apiInit@pica02.picasoft.net:~/artefact/pgp/
dependencies:
- beamer-build
tags: [build]
......
Supports Markdown
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