diff --git a/CHANGELOG.md b/CHANGELOG.md index e4d1333f..071bf76f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,10 @@ Instructions: Add a subsection under `[Unreleased]` for additions, fixes, change ## [Unreleased] +### Addded + +- New option for `pretext deploy`. If you pass `--no-push` then deploy will commit your output to the `gh-pages` branch but not push. This can be useful for CI/CD workflows or in case deploy encounters an authentication error. + ### Changed - The default devcontainer no longer includes a full LaTeX install. If you run into trouble generating latex-images or building pdfs, see the README.md file for assistance. diff --git a/pretext/project/__init__.py b/pretext/project/__init__.py index 444fc8b5..8cbf4f96 100644 --- a/pretext/project/__init__.py +++ b/pretext/project/__init__.py @@ -607,11 +607,6 @@ def build( xmlid: t.Optional[str] = None, no_knowls: bool = False, ) -> None: - # Temporary fix for Runestone that runs the CLI as a library in a worker - # remove the variables attr at the start of each build. - if hasattr(core.get_publisher_variable, "variables"): - delattr(core.get_publisher_variable, "variables") - # Add cli.version to stringparams. Use only the major and minor version numbers. self.stringparams["cli.version"] = VERSION[: VERSION.rfind(".")]