Skip to content

Commit 43b28a3

Browse files
committed
Fix 0253f5f
1 parent 0253f5f commit 43b28a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

onlinejudge_verify/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def subcommand_docs(*, jobs: int = 1) -> None:
176176
logger.exception('failed to get the default branch: %s', e)
177177
logger.info('Updating GitHub Pages is skipped.')
178178
return
179-
if os.environ['GITHUB_REF'] == 'refs/heads/{}'.format(default_branch):
179+
if os.environ['GITHUB_REF'] != 'refs/heads/{}'.format(default_branch):
180180
logger.info('This execution is not on the default branch (the default is "refs/heads/%s" but the actual is "%s"). Updating GitHub Pages is skipped.', default_branch, os.environ['GITHUB_REF'])
181181
return
182182

0 commit comments

Comments
 (0)