diff --git a/.drone.yml b/.drone.yml index 902d9b5..969f072 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,6 +1,10 @@ kind: pipeline name: default +trigger: + branch: + - main + steps: - name: ssh image: appleboy/drone-ssh @@ -13,4 +17,11 @@ steps: port: 22 command_timeout: 2m script: - - echo "Hello World" \ No newline at end of file + - cd /etc/opt/docker/pcs-website/pcs-website + - git pull + when: + event: + - push + - tag + branch: + - main \ No newline at end of file