--- kind: pipeline type: ssh name: default server: host: from_secret: JMBD_HOST user: from_secret: JMBD_USER ssh_key: from_secret: JMBD_KEY steps: - name: greeting commands: - echo hello world - name: retrieve environment: DIR: from_secret: JMBD_DIRECTORY BRANCH: from_secret: JMBD_BRANCH commands: - cd $DIR - git fetch - git checkout $BRANCH - git pull