You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@click.option("-u", "--update-source", is_flag=True, required=False, help="Commit and push changes tot he source files at the same time as deploying output.")
949
+
@click.option("-s", "--stage-only", is_flag=True, required=False, help="Create a staged deployment, but do not deploy.")
950
+
@click.option("-p", "--preview", is_flag=True, required=False, help="Preview the staged deployment, but do not actually deploy.")
951
+
@click.option("--no-push", is_flag=True, required=False, help="Do not push to remote. Useful for CI/CD workflows or in case of authentication errors.")
"Make sure you can push changes, either from the command line or in VS Code. Then try to deploy again."
763
+
"Make sure you can push changes, either from the command line or in VS Code. Then try to deploy again.\n"
757
764
)
765
+
log.info("You can also try to run `pretext deploy --no-push` to skip this step, then switch to the `gh-pages` branch (using `git checkout gh-pages`) and push manually.")
758
766
log.info("")
759
767
log.info(f"(If `{origin.url}` doesn't match your GitHub repository,")
0 commit comments