Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb13b874

Browse files
Refine 'Publish documentation' workflow (nlohmann#3673)
* Only publish documentation when changed* Enable manual publishing of the documentation* Don't try to publish documentation from forks
1 parentb6e2942 commitb13b874

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎.github/workflows/publish_documentation.yml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
push:
66
branches:
77
-develop
8+
paths:
9+
-docs/mkdocs/**
10+
-docs/examples/**
11+
workflow_dispatch:
812

913
# we don't want to have concurrent jobs, and we don't want to cancel running jobs to avoid broken publications
1014
concurrency:
@@ -13,6 +17,7 @@ concurrency:
1317

1418
jobs:
1519
publish_documentation:
20+
if:github.repository == 'nlohmann/json'
1621
runs-on:ubuntu-22.04
1722
steps:
1823
-uses:actions/checkout@v3

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp