Procházet zdrojové kódy

added trigger

new_year
Sebastian před 6 měsíci
rodič
revize
bf97a58cd5
Podepsáno: imo <sebastian@hueb-ner.de> ID GPG klíče: AFA10CBFE4391C0C
1 změnil soubory, kde provedl 37 přidání a 34 odebrání
  1. +37
    -34
      .drone.yml

+ 37
- 34
.drone.yml Zobrazit soubor

@@ -2,39 +2,42 @@ kind: pipeline
type: docker
name: default

trigger:
event:
include:
- push
exclude:
- pull_request

steps:
- name: build
image: plugins/hugo
settings:
hugo_version: 0.57.2
validate: true
source: 5222.de/
output: ../public
when:
event:
exclude:
- pull_request
- name: build
image: plugins/hugo
settings:
hugo_version: 0.57.2
validate: true
source: 5222.de/
output: ../public

- name: upload
image: drillster/drone-rsync
settings:
hosts:
from_secret: rsync_server
source: ./public/
target:
from_secret: rsync_target
recursive: true
delete: true
environment:
RSYNC_KEY:
from_secret: rsync_key
RSYNC_USER:
from_secret: rsync_user
when:
status:
- success
branch:
- master
event:
exclude:
- pull_request
- name: upload
image: drillster/drone-rsync
settings:
hosts:
from_secret: rsync_server
source: ./public/
target:
from_secret: rsync_target
recursive: true
delete: true
environment:
RSYNC_KEY:
from_secret: rsync_key
RSYNC_USER:
from_secret: rsync_user
when:
status:
- success
branch:
- master
event:
exclude:
- pull_request

Načítá se…
Zrušit
Uložit