mirror of
https://git.bolliret.ch/pcs/pcs-website
synced 2026-01-18 15:21:36 +01:00
.drone.yml aktualisiert
This commit is contained in:
parent
168c718356
commit
d2b185a9dc
1 changed files with 12 additions and 1 deletions
13
.drone.yml
13
.drone.yml
|
|
@ -1,6 +1,10 @@
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: default
|
name: default
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: ssh
|
- name: ssh
|
||||||
image: appleboy/drone-ssh
|
image: appleboy/drone-ssh
|
||||||
|
|
@ -13,4 +17,11 @@ steps:
|
||||||
port: 22
|
port: 22
|
||||||
command_timeout: 2m
|
command_timeout: 2m
|
||||||
script:
|
script:
|
||||||
- echo "Hello World"
|
- cd /etc/opt/docker/pcs-website/pcs-website
|
||||||
|
- git pull
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- push
|
||||||
|
- tag
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
Loading…
Add table
Reference in a new issue