Skip to content

Commit

Permalink
build(actions): stop nightly error on forks
Browse files Browse the repository at this point in the history
Add an if condition for the publish job so the nightly build only runs on the upstream repository.
  • Loading branch information
Sean authored Dec 22, 2019
1 parent 0224c87 commit 87ad7fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ on:
schedule:
- cron: 00 23 * * *
jobs:
build:
publish:
name: Build nightly distribution
runs-on: ubuntu-latest
if: github.repository == 'fomantic/Fomantic-UI'
steps:
- uses: actions/checkout@v1
with:
Expand Down

0 comments on commit 87ad7fc

Please sign in to comment.