docs: add netlify build hook

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi 2021-06-21 15:26:41 +02:00
parent 656b01041d
commit ec83ed5047

17
.github/workflows/docs.yml vendored Normal file
View File

@ -0,0 +1,17 @@
name: Docs
on:
push:
tags:
- v*
paths:
- "docs/**"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- run: curl -X POST "https://api.netlify.com/build_hooks/${{ secrets.DOCS_NETLIFY_BUILD_HOOK }}"