mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-22 23:51:27 +01:00
Trigger a new Netlify build when new docs are merged
Signed-off-by: jonasrosland <jrosland@vmware.com>
This commit is contained in:
parent
26f71d47b3
commit
84d863b4f7
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