--- kind: pipeline type: exec name: default platform: os: linux arch: amd64 trigger: branch: - master event: include: - push - pull_request steps: - name: build commands: - make - name: install commands: - make install when: event: - push - name: restart commands: - systemctl restart craft-bot when: event: - push