press-garden/.drone.yml
Kazhnuz 7c69e1c1b6
All checks were successful
continuous-integration/drone/push Build is passing
build: fix pipeline
2023-11-08 14:42:32 +01:00

26 lines
443 B
YAML

kind: pipeline
name: production
when:
event: [ push ]
branch: [ main ]
clone:
git:
image: plugins/git
pull: true
steps:
- name: deploy
image: drillster/drone-rsync
settings:
hosts:
from_secret: deploy_host
target: /var/www/press.fanstuff.garden
source: ./*
user:
from_secret: deploy_user
key:
from_secret: deploy_key
when:
branch: main
delete: true