Skip to content

Commit

Permalink
tesing github enviorment variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
eseverett committed Mar 6, 2024
1 parent 1a4267b commit b1d7f65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/extensions/pdf_button.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def run(self):

# Check if explicitly marked as a local build
on_gitlab = os.environ.get('GITLAB_CI') == 'true'
on_github = os.environ.get('github-pages') == 'true'
on_github = os.environ.get('GITHUB_ACTIONS') == 'true'

if on_gitlab:
pdf_path = f'/_static/{pdf_filename}'
Expand Down

0 comments on commit b1d7f65

Please sign in to comment.