Skip to content

Commit

Permalink
remove unnecessary ci runs
Browse files Browse the repository at this point in the history
  • Loading branch information
callumrollo committed Nov 18, 2024
1 parent 06a2316 commit d5052ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ on:
push:
branches:
- main
release:
types:
- published

jobs:
build-docs:
Expand Down Expand Up @@ -47,8 +44,7 @@ jobs:
popd
- name: Deploy

if: success() && github.event.pull_request.merged
if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ name: Tests

on:
pull_request:
push:
branches: [main]


jobs:
run:
Expand Down

0 comments on commit d5052ae

Please sign in to comment.