Skip to content

Commit

Permalink
ci: Allow action to run in pull requests
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick José Pereira <[email protected]>
  • Loading branch information
patrickelectric committed May 22, 2024
1 parent 699dc73 commit 97fe448
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Publish docs via GitHub Pages
on: [push, workflow_dispatch]
on: [pull_request, push, workflow_dispatch]

jobs:
build:
Expand All @@ -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 }}

0 comments on commit 97fe448

Please sign in to comment.