File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
{{cookiecutter.project_slug}} Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -153,12 +153,12 @@ doc-serve = "pdoc ./{{cookiecutter.package_name}} --host localhost --port 8080"
153153doc-build = " pdoc ./{{cookiecutter.package_name}} -o docs/api --search"
154154doc-publish = """ \
155155task doc-build && \
156- git checkout docs 2>/dev/null || git checkout -b docs && \
157- git rm -rf . && \
156+ git checkout gh-pages 2>/dev/null || git checkout -b gh-pages && \
157+ git rm -rf . 2>/dev/null || true && \
158158cp -r docs/api/* . && \
159159git add -A && \
160160git commit -m "Publish API documentation" && \
161- git push origin docs --force && \
161+ git push origin gh-pages --force && \
162162git checkout main"""
163163mut-report = """
164164 uv run cosmic-ray new-config mut.toml && \
You can’t perform that action at this time.
0 commit comments