From 65d29cc36f943899bad6383beaf2f78a89e4f552 Mon Sep 17 00:00:00 2001 From: Victor Garcia Date: Fri, 18 Oct 2024 10:29:30 +0200 Subject: [PATCH] Add github action to rebuild docs on change --- .github/workflows/rebuild-docs.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/rebuild-docs.yml diff --git a/.github/workflows/rebuild-docs.yml b/.github/workflows/rebuild-docs.yml new file mode 100644 index 000000000..a5b940923 --- /dev/null +++ b/.github/workflows/rebuild-docs.yml @@ -0,0 +1,18 @@ +name: 'Rebuild developer docs' + +on: + push: + branches: + - main + paths: + - 'docs/**' + +concurrency: + group: ${{ github.workflow}}-${{ github.ref }} + cancel-in-progress: true + +jobs: + rebuild-docs: + runs-on: ubuntu-latest + steps: + - run: curl -X POST -d {} https://api.netlify.com/build_hooks/${{ secrets.NETLIFY_DEVELOPER_DOCS_TOKEN }}