--- kind: pipeline type: docker name: pull_request image_pull_secrets: - dockerconfigjson steps: - name: lint yaml image: registry.fedy95.com/baseimage-yamllint:latest commands: - yamllint -c /yamllint/relaxed.yaml docker-compose.yml when: event: pull_request --- kind: pipeline type: ssh name: master_push clone: disable: true server: host: from_secret: host user: from_secret: user password: from_secret: password steps: - name: release commands: - cd /home/fedy95/gitea - git pull - echo 'need manual restart' trigger: branch: - master event: - push ...