kind: pipeline type: docker name: default steps: - name: build js app image: node commands: - yarn install - yarn build - name: deploy image: apairon/mark2web:latest pull: never environment: RSYNC_USER: BASISPANEL_RSYNC_USERNAME RSYNC_PASS: # SET PASSWORD IN ci.basehosts.de from_secret: rsync_master commands: - ' rsync -rlcgD --perms -i -u -v --stats --progress --delete -e "sshpass -p $${RSYNC_PASS} ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 22222" build/ $${RSYNC_USER}@ftp1.webmakers.de:./' when: branch: [master] event: [push]