Skip to content

Commit

Permalink
[GHA] Do not run github-pages unless on main repo
Browse files Browse the repository at this point in the history
  • Loading branch information
hazendaz authored and damianszczepanik committed Jan 3, 2024
1 parent ccf8026 commit f2571dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:

jobs:
build:
# Do not run on forks as unnecessary
if: github.repository_owner == 'damianszczepanik'
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit f2571dc

Please sign in to comment.