only run CI on master

This commit is contained in:
Tomáš Mládek 2021-04-09 17:49:02 +02:00
parent b6fcd09a3b
commit 88dcb89ca7

View file

@ -16,6 +16,9 @@ build site:
deploy site: deploy site:
image: instrumentisto/rsync-ssh image: instrumentisto/rsync-ssh
stage: deploy stage: deploy
only:
refs:
- master
script: script:
- mkdir ~/.ssh - mkdir ~/.ssh
- echo "$SSH_KNOWN_HOSTS" >> ~/.ssh/known_hosts - echo "$SSH_KNOWN_HOSTS" >> ~/.ssh/known_hosts