Skip to content

Commit

Permalink
CHORE: build & deploy docs in master repo only
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksandr-kotlyar committed Aug 4, 2024
1 parent 7d7b793 commit 9bdeab8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy-mkdocs-poetry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:

# Build docs via MkDocs with poetry shell (environment)
build-docs:
if: github.repository_owner == 'yashaka'
# The type of runner that the job will run on
runs-on: ubuntu-latest

Expand Down Expand Up @@ -56,6 +57,7 @@ jobs:

# Deploy docs job
deploy-docs:
if: github.repository_owner == 'yashaka'
# Add a dependency to the build job
needs: build-docs

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/traffic2badge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:

jobs:
run:
if: github.repository_owner == 'yashaka'
name: Make GitHub Traffic to Badge
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 9bdeab8

Please sign in to comment.