mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-26 04:05:40 +01:00
Merge pull request #10859 from jonasrosland/trigger-netlify-build-on-docs-update
Trigger a new Netlify build when new docs are merged
This commit is contained in:
commit
26e3291e41
13
.github/workflows/netlify.yml
vendored
Normal file
13
.github/workflows/netlify.yml
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
name: Build and Deploy to Netlify
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths:
|
||||||
|
- 'docs/**'
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-18.04
|
||||||
|
steps:
|
||||||
|
- name: Deploy new-site to Netlify
|
||||||
|
run: curl -X POST -d {} ${{ secrets.NETLIFY_BUILD_HOOK }}
|
Loading…
Reference in New Issue
Block a user