From a14c2eaad1077422d75c6370adbb7a158877a7b0 Mon Sep 17 00:00:00 2001 From: Gerhard Lazu Date: Thu, 10 Feb 2022 10:25:12 +0000 Subject: [PATCH] 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 --- .github/workflows/{docs.yml => deploy-docs.yml} | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) rename .github/workflows/{docs.yml => deploy-docs.yml} (68%) diff --git a/.github/workflows/docs.yml b/.github/workflows/deploy-docs.yml similarity index 68% rename from .github/workflows/docs.yml rename to .github/workflows/deploy-docs.yml index 11c83319..24b3a84e 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -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 }}"