Merge pull request #1591 from gerhard/deploy-docs-on-commit-to-main

Deploy docs on every commit to the main branch
This commit is contained in:
Gerhard Lazu 2022-02-10 10:45:53 +00:00 committed by GitHub
commit a393133861
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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