diff --git a/.drone.yaml b/.drone.yaml new file mode 100644 index 0000000..4495823 --- /dev/null +++ b/.drone.yaml @@ -0,0 +1,29 @@ +--- +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 + \ No newline at end of file