0
0
mirror of https://github.com/thegeeklab/corenetworks.git synced 2024-11-24 20:10:40 +00:00

build docs on pr

This commit is contained in:
Robert Kaussow 2020-11-12 22:36:45 +01:00
parent f1e06dfa72
commit f97ab18549
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61
2 changed files with 10 additions and 2 deletions

View File

@ -265,13 +265,16 @@ local PipelineDocs = {
strip_prefix: 'docs/public/', strip_prefix: 'docs/public/',
target: '/${DRONE_REPO_NAME}', target: '/${DRONE_REPO_NAME}',
}, },
when: {
ref: ['refs/heads/master', 'refs/tags/**'],
},
}, },
], ],
depends_on: [ depends_on: [
'build-package', 'build-package',
], ],
trigger: { trigger: {
ref: ['refs/heads/master', 'refs/tags/**'], ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'],
}, },
}; };

View File

@ -273,11 +273,16 @@ steps:
source: docs/public/ source: docs/public/
strip_prefix: docs/public/ strip_prefix: docs/public/
target: /${DRONE_REPO_NAME} target: /${DRONE_REPO_NAME}
when:
ref:
- refs/heads/master
- refs/tags/**
trigger: trigger:
ref: ref:
- refs/heads/master - refs/heads/master
- refs/tags/** - refs/tags/**
- refs/pull/**
depends_on: depends_on:
- build-package - build-package
@ -321,6 +326,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: 1710363bc76f654db7faac64efbf766159c52c4295200e8a6e89dde7148d85f8 hmac: 8eb3fca00d4d0a5ffc49ef56daa25334021a038636aa5e4c44962f70dbb9a7db
... ...