Skip to content

Commit

Permalink
fixed conditions for running repository-documentation workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
melinath committed Mar 5, 2024
1 parent 63e8589 commit aef3e50
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/repository-documentation-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@ permissions: read-all
on:
push:
branches:
- main # Set a branch to deploy
pull_request:
paths:
- 'docs/**'
- main

jobs:
deploy:
Expand All @@ -33,7 +30,6 @@ jobs:

- name: Deploy
uses: peaceiris/actions-gh-pages@de7ea6f8efb354206b205ef54722213d99067935 # v3.9.0
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/public
3 changes: 0 additions & 3 deletions .github/workflows/repository-documentation-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ name: repository-documentation-test
permissions: read-all

on:
push:
branches:
- main # Set a branch to deploy
pull_request:
paths:
- 'docs/**'
Expand Down

0 comments on commit aef3e50

Please sign in to comment.