diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml
index c563bf57c..49c845a9b 100644
--- a/.github/workflows/deploy-docs.yml
+++ b/.github/workflows/deploy-docs.yml
@@ -24,13 +24,13 @@ jobs:
id: pages
uses: actions/configure-pages@v4
- name: Clean docs folder
- run: cargo clean --doc
+ run: cd swarm_nl && cargo clean --doc
- name: Build docs
- run: cargo doc --no-deps
+ run: cd swarm_nl && cargo doc --no-deps
- name: Add redirect
- run: echo '' > target/doc/index.html
+ run: cd swarm_nl && echo '' > target/doc/index.html
- name: Remove lock file
- run: rm target/doc/.lock
+ run: cd swarm_nl && rm target/doc/.lock
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with: