Skip to content

Commit

Permalink
Run docs CI workflow more often, but only deploy on master
Browse files Browse the repository at this point in the history
  • Loading branch information
sim642 committed Feb 22, 2024
1 parent 8837e32 commit f2f5cc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ name: docs

on:
push:
branches:
- master
pull_request:

workflow_dispatch:

Expand Down Expand Up @@ -65,6 +64,7 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: api-build
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
steps:
- name: Deploy to GitHub Pages
id: deployment
Expand Down

0 comments on commit f2f5cc1

Please sign in to comment.