mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-07 01:21:03 +01:00
ci: dont run github_pages on forks
Limit to not automatically run on forks and allow ad-hoc runs. Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
parent
6613b6ce49
commit
f14ef40c45
1 changed files with 18 additions and 16 deletions
2
.github/workflows/github_pages.yml
vendored
2
.github/workflows/github_pages.yml
vendored
|
|
@ -3,8 +3,10 @@ on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
workflow_dispatch:
|
||||||
jobs:
|
jobs:
|
||||||
publish:
|
publish:
|
||||||
|
if: github.event_name != 'schedule' || github.repository_owner == 'nix-community'
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest]
|
os: [ubuntu-latest]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue