kind: pipeline type: ssh name: update server: host: 188.242.77.16:9345 user: ubuntu ssh_key: from_secret: SSH_KEY clone: disable: true steps: - name: fetch remote commands: - cd /home/ubuntu/politics-mark && git fetch --all && git reset --hard origin/master trigger: branch: - master