Skip to content

Commit

Permalink
Merge pull request opencast#481 from ziegenberg/run-deploy-not-in-forks
Browse files Browse the repository at this point in the history
Do not run the test deployment in any forks
  • Loading branch information
lkiesow authored May 28, 2024
2 parents a49b87d + a604046 commit ad384ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:

jobs:
build:
if: github.repository_owner == 'opencast'
runs-on: ubuntu-latest
steps:
- name: checkout code
Expand Down Expand Up @@ -44,6 +45,7 @@ jobs:
path: ./gh-pages

deploy:
if: github.repository_owner == 'opencast'
needs: build

permissions:
Expand Down

0 comments on commit ad384ff

Please sign in to comment.