From 97fe4481ec3b03c4055d4892ef14b2d2633aa07b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Jos=C3=A9=20Pereira?= Date: Wed, 22 May 2024 11:36:47 -0300 Subject: [PATCH] ci: Allow action to run in pull requests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Patrick José Pereira --- .github/workflows/deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a68e5a18..6882c7c3 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,5 +1,5 @@ name: Publish docs via GitHub Pages -on: [push, workflow_dispatch] +on: [pull_request, push, workflow_dispatch] jobs: build: @@ -16,6 +16,7 @@ jobs: tools/populate-docs.sh - name: Deploy docs + if: github.ref == 'refs/heads/master' uses: mhausenblas/mkdocs-deploy-gh-pages@master env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file