소스 검색

added trigger

new_year
Sebastian 6 달 전
부모
커밋
bf97a58cd5
로그인 계정: imo <sebastian@hueb-ner.de> GPG 키 ID: AFA10CBFE4391C0C
1개의 변경된 파일37개의 추가작업 그리고 34개의 파일을 삭제
  1. +37
    -34
      .drone.yml

+ 37
- 34
.drone.yml 파일 보기

@@ -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

불러오는 중...
취소
저장