Skip to content

Commit

Permalink
CI: Avoid deploying automatically binaries on forks
Browse files Browse the repository at this point in the history
  • Loading branch information
Luni-4 authored and barrbrain committed Oct 15, 2020
1 parent 25e8c5f commit 3a1cc6b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
- conf: gnu
toolchain: stable-x86_64-pc-windows-gnu

if: github.event_name == 'schedule' && github.repository_owner == 'xiph'

runs-on: windows-latest

steps:
Expand Down Expand Up @@ -141,6 +143,8 @@ jobs:
binaries: rav1e
strip: aarch64-linux-gnu-strip

if: github.event_name == 'schedule' && github.repository_owner == 'xiph'

runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -238,6 +242,8 @@ jobs:

macos-binaries:

if: github.event_name == 'schedule' && github.repository_owner == 'xiph'

runs-on: macos-latest

steps:
Expand Down Expand Up @@ -300,6 +306,8 @@ jobs:

needs: [windows-binaries, linux-binaries, macos-binaries]

if: github.event_name == 'schedule' && github.repository_owner == 'xiph'

runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit 3a1cc6b

Please sign in to comment.