This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
dagger/.github/workflows/deploy-docs.yml
Gerhard Lazu a14c2eaad1
Deploy docs on every commit to the main branch
We want doc updates to flow continuously, not just on a new tag.

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-02-10 10:30:08 +00:00

20 lines
408 B
YAML

name: "Deploy Docs"
on:
push:
branches:
- main
paths:
- "docs/**"
- '.github/workflows/deploy-docs.yml'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
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 }}"