Skip to content
Snippets Groups Projects
Commit 6deb257f authored by migu's avatar migu
Browse files

publish only from master

parent 328d0aa8
No related branches found
No related tags found
1 merge request!6publish guide to server
Pipeline #23708 passed
......@@ -30,9 +30,8 @@ publish_guide:
- ssh-keyscan -H "$PUBLISH_HOST" >> ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts
script:
#- 'ssh $PUBLISH_USER@$PUBLISH_HOST rsync --version'
- 'rsync -av angelguide_*.pdf $PUBLISH_USER@$PUBLISH_HOST:$PUBLISH_PATH'
# rules:
# - if: '$CI_COMMIT_REF_NAME == "master"'
# when: on_success
# - when: never
rules:
- if: '$CI_COMMIT_REF_NAME == "master"'
when: on_success
- when: never
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