Skip to content
Snippets Groups Projects
Commit 328d0aa8 authored by migu's avatar migu
Browse files

fiddle with ssh and rsync

parent 2437d337
No related branches found
No related tags found
1 merge request!6publish guide to server
Pipeline #23707 passed
...@@ -30,7 +30,7 @@ publish_guide: ...@@ -30,7 +30,7 @@ publish_guide:
- ssh-keyscan -H "$PUBLISH_HOST" >> ~/.ssh/known_hosts - ssh-keyscan -H "$PUBLISH_HOST" >> ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts
script: script:
- 'ssh $PUBLISH_USER@$PUBLISH_HOST rsync --version' #- 'ssh $PUBLISH_USER@$PUBLISH_HOST rsync --version'
- 'rsync -av angelguide_*.pdf $PUBLISH_USER@$PUBLISH_HOST:$PUBLISH_PATH' - 'rsync -av angelguide_*.pdf $PUBLISH_USER@$PUBLISH_HOST:$PUBLISH_PATH'
# rules: # rules:
# - if: '$CI_COMMIT_REF_NAME == "master"' # - if: '$CI_COMMIT_REF_NAME == "master"'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment