1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
--- kind: pipeline type: ssh name: deploy server: host: from_secret: host user: from_secret: username ssh_key: from_secret: ssh_key clone: disable: true trigger: branch: - master steps: - name: hello commands: - cd /var/www/hmm.st - sudo -Hu www-data git pull origin master