summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Wernick <justin@worthe-it.co.za>2023-06-13 14:16:59 +0200
committerJustin Wernick <justin@worthe-it.co.za>2023-06-13 14:16:59 +0200
commit7e71779fcbf7a00d61d82c0f6bafd288fa153636 (patch)
treeb5c461fb7255560718f115e4f87701015208ea29
parent9a3cc964f9637e61028a7854e757e6a29a7113d6 (diff)
Try eliminating the need for cargo-script in updating pages
The docker container doesn't have cargo-script installed. This should be more efficient since it doesn't build cargo-script from source.
-rw-r--r--.woodpecker.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/.woodpecker.yml b/.woodpecker.yml
index 2b404ad..4142b42 100644
--- a/.woodpecker.yml
+++ b/.woodpecker.yml
@@ -27,8 +27,7 @@ pipeline:
- git clone -b pages https://$CBTOKEN@codeberg.org/$CI_REPO.git pages
- cp -r dist/docs "pages/$CI_COMMIT_TAG"
- cd pages
- - cargo install cargo-script
- - ./update-index.csh
+ - cargo run
- git add --all
- git commit -m "Woodpecker CI Generated Docs"
- git push