Skip to content

SWE-agent takes a GitHub issue and tries to automatically fix it, using your LM of choice. It can also be employed for offensive cybersecurity or competitive coding challenges. [NeurIPS 2024]

CI: Don't attempt to deploy doc on PR (#474)

Kilian Lieretabd47c7db6c7
diff --git a/.github/workflows/build-docs.yaml b/.github/workflows/build-docs.yaml
index d28205f7..5a05349d 100644
--- a/.github/workflows/build-docs.yaml
+++ b/.github/workflows/build-docs.yaml
@@ -37,7 +37,7 @@ jobs:
- run: uv pip install --python ${Python_ROOT_DIR} '.[dev]'
- name: Build Documentation
if: github.ref != 'refs/heads/main'
- run: mkdocs gh-deploy --force
+ run: mkdocs build
- name: Build + Deploy Documentation
if: github.ref == 'refs/heads/main'
run: mkdocs gh-deploy --force