1
0
Fork 0

Use a different image for rsync

If this works, there’s no need to install rsync separately. There isn’t anything
in this step that has anything to do with Emacs, so it should work.
This commit is contained in:
Tom Willemse 2019-09-08 18:04:07 -07:00
parent 730953ee53
commit b605aa6cd7

View file

@ -184,10 +184,10 @@ package:
deploy: deploy:
stage: deploy stage: deploy
image: instrumentisto/rsync-ssh
dependencies: dependencies:
- package - package
before_script: before_script:
- chmod 600 "$DEPLOY_KEY" - chmod 600 "$DEPLOY_KEY"
- apk update && apk add rsync
script: script:
- rsync -e "ssh -o \"UserKnownHostsFile $KNOWN_HOSTS\" -p 4511 -i $DEPLOY_KEY" -v -c -r --delete bin/ "elpa@ryuslash.org:" - rsync -e "ssh -o \"UserKnownHostsFile $KNOWN_HOSTS\" -p 4511 -i $DEPLOY_KEY" -v -c -r --delete bin/ "elpa@ryuslash.org:"