From bf26e1a29364f1e50f1cc97f324f72bca75d666e Mon Sep 17 00:00:00 2001 From: Thomas Schouten Date: Thu, 1 Feb 2024 20:41:36 +0100 Subject: [PATCH] Only upload docs on master --- .github/workflows/docs.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 8b72b038a..40e677410 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -86,6 +86,7 @@ jobs: uses: actions/configure-pages@v2 - name: Upload artifact uses: actions/upload-pages-artifact@v1 + if: github.ref == 'refs/heads/master' with: path: dir - name: Deploy to GitHub Pages